CVE-2026-28871: Visiting a maliciously crafted website may lead to a cross-site scripting attack in Apple Safari
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.
AI Analysis
Technical Summary
CVE-2026-28871 is a cross-site scripting (XSS) vulnerability identified in Apple Safari, affecting versions prior to Safari 26.4 on macOS Tahoe 26.4, iOS 18.7.7, and iPadOS 18.7.7. The root cause is a logic flaw in Safari's handling of web content that allows an attacker to inject malicious scripts when a user visits a crafted website. This vulnerability falls under CWE-79, which pertains to improper neutralization of input leading to script injection. The attack vector is network-based (AV:N), requiring no privileges (PR:N), but does require user interaction (UI:R) by visiting the malicious site. The scope is unchanged (S:U), and the impact is limited to confidentiality (C:L), with no impact on integrity or availability. Exploitation could allow attackers to steal sensitive information accessible via the browser context, such as cookies or session tokens, potentially leading to further attacks like session hijacking. Apple has resolved this by implementing improved input validation and logic checks to prevent script injection. No public exploits have been reported, but the vulnerability is significant given Safari's widespread use on Apple devices. The fix is included in recent updates to Safari and the respective operating systems, emphasizing the importance of patching.
Potential Impact
The primary impact of CVE-2026-28871 is the potential compromise of user confidentiality through cross-site scripting attacks. Attackers can exploit this vulnerability to execute arbitrary scripts in the context of the victim's browser session, potentially stealing cookies, session tokens, or other sensitive data accessible via the browser. This can lead to unauthorized access to user accounts or sensitive information. Although the vulnerability does not affect system integrity or availability, the confidentiality breach can facilitate further attacks such as account takeover or phishing. Organizations relying on Apple devices and Safari for web access, especially those handling sensitive or regulated data, face increased risk of data leakage and privacy violations. The requirement for user interaction (visiting a malicious website) limits automated exploitation but does not eliminate risk, as social engineering can be used to lure users. The absence of known exploits in the wild reduces immediate threat but does not preclude future attacks. Overall, the vulnerability poses a moderate risk to organizations globally, particularly those with high Apple device usage.
Mitigation Recommendations
To mitigate CVE-2026-28871, organizations and users should promptly apply the security updates released by Apple, specifically Safari 26.4, iOS 18.7.7, and iPadOS 18.7.7 or later. Beyond patching, organizations should implement web filtering solutions to block access to known malicious websites and employ endpoint protection that can detect and prevent script-based attacks. Security awareness training should emphasize the risks of visiting untrusted websites and recognizing phishing attempts that may direct users to malicious content. Network-level protections such as DNS filtering and intrusion prevention systems (IPS) can help reduce exposure to malicious domains. For enterprise environments, consider deploying browser security policies that restrict or sandbox JavaScript execution where feasible. Monitoring browser logs and network traffic for unusual activity related to script injection attempts can aid in early detection. Finally, encourage users to adopt secure browsing habits and keep all software up to date to minimize attack surface.
Affected Countries
United States, Canada, United Kingdom, Germany, France, Australia, Japan, South Korea, China, India, Brazil, Italy, Spain, Netherlands, Sweden
CVE-2026-28871: Visiting a maliciously crafted website may lead to a cross-site scripting attack in Apple Safari
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-28871 is a cross-site scripting (XSS) vulnerability identified in Apple Safari, affecting versions prior to Safari 26.4 on macOS Tahoe 26.4, iOS 18.7.7, and iPadOS 18.7.7. The root cause is a logic flaw in Safari's handling of web content that allows an attacker to inject malicious scripts when a user visits a crafted website. This vulnerability falls under CWE-79, which pertains to improper neutralization of input leading to script injection. The attack vector is network-based (AV:N), requiring no privileges (PR:N), but does require user interaction (UI:R) by visiting the malicious site. The scope is unchanged (S:U), and the impact is limited to confidentiality (C:L), with no impact on integrity or availability. Exploitation could allow attackers to steal sensitive information accessible via the browser context, such as cookies or session tokens, potentially leading to further attacks like session hijacking. Apple has resolved this by implementing improved input validation and logic checks to prevent script injection. No public exploits have been reported, but the vulnerability is significant given Safari's widespread use on Apple devices. The fix is included in recent updates to Safari and the respective operating systems, emphasizing the importance of patching.
Potential Impact
The primary impact of CVE-2026-28871 is the potential compromise of user confidentiality through cross-site scripting attacks. Attackers can exploit this vulnerability to execute arbitrary scripts in the context of the victim's browser session, potentially stealing cookies, session tokens, or other sensitive data accessible via the browser. This can lead to unauthorized access to user accounts or sensitive information. Although the vulnerability does not affect system integrity or availability, the confidentiality breach can facilitate further attacks such as account takeover or phishing. Organizations relying on Apple devices and Safari for web access, especially those handling sensitive or regulated data, face increased risk of data leakage and privacy violations. The requirement for user interaction (visiting a malicious website) limits automated exploitation but does not eliminate risk, as social engineering can be used to lure users. The absence of known exploits in the wild reduces immediate threat but does not preclude future attacks. Overall, the vulnerability poses a moderate risk to organizations globally, particularly those with high Apple device usage.
Mitigation Recommendations
To mitigate CVE-2026-28871, organizations and users should promptly apply the security updates released by Apple, specifically Safari 26.4, iOS 18.7.7, and iPadOS 18.7.7 or later. Beyond patching, organizations should implement web filtering solutions to block access to known malicious websites and employ endpoint protection that can detect and prevent script-based attacks. Security awareness training should emphasize the risks of visiting untrusted websites and recognizing phishing attempts that may direct users to malicious content. Network-level protections such as DNS filtering and intrusion prevention systems (IPS) can help reduce exposure to malicious domains. For enterprise environments, consider deploying browser security policies that restrict or sandbox JavaScript execution where feasible. Monitoring browser logs and network traffic for unusual activity related to script injection attempts can aid in early detection. Finally, encourage users to adopt secure browsing habits and keep all software up to date to minimize attack surface.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apple
- Date Reserved
- 2026-03-03T16:36:03.974Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 69c333e1f4197a8e3baaecbb
Added to database: 3/25/2026, 1:01:21 AM
Last enriched: 4/3/2026, 3:14:16 AM
Last updated: 5/2/2026, 9:22:21 PM
Views: 68
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.