CVE-2026-28871 Cross-site scripting in Safari

Medium 4.3 Published Updated

Visiting a maliciously crafted website may lead to a cross-site scripting attack in Apple Safari and related operating systems.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-28871?

CVE-2026-28871 is a medium-severity cross-site scripting vulnerability in Apple Ipados, published on 25 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A logic issue was addressed with improved checks. This issue is fixed in Safari 26.4, iOS 18.7.7 and iPadOS 18.7.7, iOS 26.4 and iPadOS 26.4, macOS Tahoe 26.4. Visiting a maliciously crafted website may lead to a cross-site scripting attack.

Weakness: CWE-79

Which versions are affected by CVE-2026-28871?

It affects 4 products.

Products include Apple Ipados, Apple Iphone Os, Apple Macos, Apple Safari.

How do I fix CVE-2026-28871?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-28871 being exploited?

There is no known exploitation of CVE-2026-28871 in the wild and no public exploit code.

All Apple Ipados vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-28871, GHSA-m46v-chmw-rw9m, UBUNTU-CVE-2026-28871.

Is CVE-2026-28871 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free