CVE-2026-28871 Cross-site scripting in Safari
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.
Other vulnerabilities in Apple Ipados
- CVE-2025-43300 Apple iOS, iPadOS, and macOS Out-of-Bounds Write
- CVE-2025-24201 Apple Multiple Products WebKit Out-of-Bounds Write
- CVE-2025-24085 Apple Multiple Products Use-After-Free
- CVE-2025-31200 Apple Multiple Products Memory Corruption
- CVE-2025-31201 Apple Multiple Products Arbitrary Read and Write
Sources
Also known as DEBIAN-CVE-2026-28871, GHSA-m46v-chmw-rw9m, UBUNTU-CVE-2026-28871.