The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-20665

CVE-2026-20665: Apple Safari XSS Vulnerability

CVE-2026-20665 is a cross-site scripting vulnerability in Apple Safari that allows malicious web content to bypass Content Security Policy enforcement. This article covers technical details, affected versions, and mitigation.

Published: March 27, 2026

CVE-2026-20665 Overview

CVE-2026-20665 is a security protection mechanism bypass vulnerability affecting Apple's WebKit engine across multiple platforms. The vulnerability exists due to improper state management within the browser engine, allowing maliciously crafted web content to circumvent Content Security Policy (CSP) enforcement. CSP is a critical browser security mechanism designed to prevent cross-site scripting (XSS), clickjacking, and other code injection attacks by restricting the sources from which content can be loaded.

When exploited, this vulnerability enables attackers to bypass CSP restrictions that would normally prevent the execution of unauthorized scripts or loading of malicious resources. This could allow attackers to perform actions that CSP was specifically designed to block, including injection of malicious scripts into web pages viewed by users.

Critical Impact

Processing maliciously crafted web content may prevent Content Security Policy from being enforced, potentially exposing users to XSS attacks, data exfiltration, and other web-based threats that CSP normally mitigates.

Affected Products

  • Apple Safari versions prior to 26.4
  • Apple iOS and iPadOS versions prior to 18.7.7 and 26.4
  • Apple macOS Tahoe versions prior to 26.4
  • Apple tvOS versions prior to 26.4
  • Apple visionOS versions prior to 26.4
  • Apple watchOS versions prior to 26.4

Discovery Timeline

  • 2026-03-25 - CVE-2026-20665 published to NVD
  • 2026-03-25 - Last updated in NVD database

Technical Details for CVE-2026-20665

Vulnerability Analysis

This vulnerability is classified under CWE-693 (Protection Mechanism Failure), which describes a failure to properly use or implement security protection mechanisms. In this case, the WebKit rendering engine fails to maintain proper state when processing certain malicious web content, resulting in the Content Security Policy not being correctly enforced.

Content Security Policy operates by instructing the browser to only load and execute resources from trusted sources specified in policy headers. When state management fails during content processing, the browser may lose track of the active CSP rules, allowing scripts or resources that should be blocked to execute or load normally.

The network-accessible nature of this vulnerability means that any user visiting a maliciously crafted webpage could be affected. No authentication is required for exploitation, and the attack can be delivered through standard web browsing scenarios. This presents a significant risk across Apple's entire ecosystem of devices and operating systems that utilize WebKit.

Root Cause

The root cause of CVE-2026-20665 is improper state management within the WebKit rendering engine. State management issues occur when the application fails to properly track or maintain the state of security-relevant variables or conditions during content processing. In this case, the internal state that tracks whether CSP should be enforced becomes inconsistent when processing specifically crafted malicious content, leading to the security mechanism being bypassed.

Apple addressed this vulnerability through improved state management, ensuring that CSP enforcement state is properly maintained throughout the content processing lifecycle.

Attack Vector

The attack vector for CVE-2026-20665 is network-based, requiring the victim to access maliciously crafted web content. The attack scenario typically involves:

  1. An attacker crafts a malicious webpage containing specific content designed to trigger the state management flaw
  2. The victim navigates to the malicious page using an affected Apple browser or application
  3. The WebKit engine processes the malicious content, causing improper state transitions
  4. CSP enforcement fails, allowing previously blocked resources or scripts to execute
  5. The attacker can then perform actions such as XSS attacks, data theft, or session hijacking

The vulnerability requires no user interaction beyond visiting the malicious page, and no special privileges are needed for exploitation. The attack can be delivered through various means including malicious advertisements, compromised legitimate websites, or phishing links.

Detection Methods for CVE-2026-20665

Indicators of Compromise

  • Unexpected script execution from domains not whitelisted in CSP headers
  • Browser console warnings about CSP violations that do not prevent the actual violation
  • Network traffic to unauthorized domains that should be blocked by CSP policies
  • Anomalous resource loading patterns from third-party sources on trusted pages

Detection Strategies

  • Monitor web proxy logs for requests to unexpected domains from pages with strict CSP policies
  • Implement CSP reporting endpoints (report-uri or report-to directives) to detect CSP bypass attempts
  • Deploy endpoint detection solutions that monitor WebKit process behavior for anomalous script execution
  • Analyze browser-level telemetry for patterns consistent with CSP bypass exploitation

Monitoring Recommendations

  • Enable CSP violation reporting to centralized logging infrastructure for anomaly detection
  • Monitor affected Apple devices for outdated Safari and OS versions
  • Implement network-level monitoring to detect connections to known malicious domains
  • Review web application logs for unusual patterns that may indicate exploitation attempts

How to Mitigate CVE-2026-20665

Immediate Actions Required

  • Update all Apple devices to the latest patched versions immediately
  • Prioritize updates for devices used to access sensitive or high-value web applications
  • Consider restricting web browsing on critical systems until patches are applied
  • Enable automatic updates across all managed Apple devices

Patch Information

Apple has released security patches addressing CVE-2026-20665 across all affected platforms. The following versions contain the fix:

  • Safari 26.4
  • iOS 18.7.7 and iOS 26.4
  • iPadOS 18.7.7 and iPadOS 26.4
  • macOS Tahoe 26.4
  • tvOS 26.4
  • visionOS 26.4
  • watchOS 26.4

For detailed patch information, refer to:

  • Apple Support Document #126792
  • Apple Support Document #126793
  • Apple Support Document #126794
  • Apple Support Document #126797
  • Apple Support Document #126798
  • Apple Support Document #126799
  • Apple Support Document #126800

Workarounds

  • Implement network-level web filtering to block access to known malicious domains
  • Use browser extensions or proxies that provide additional CSP enforcement layers
  • Limit browsing on unpatched devices to trusted internal applications only
  • Consider using alternative browsers on critical systems until patches can be deployed
bash
# Verify Safari version on macOS
/Applications/Safari.app/Contents/MacOS/Safari --version

# Check macOS version for patch status
sw_vers -productVersion

# Verify iOS/iPadOS version via MDM or Settings > General > About
# Target versions: iOS 18.7.7+, iOS 26.4+, iPadOS 18.7.7+, iPadOS 26.4+

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechApple Safari

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-693
  • Vendor Resources
  • Apple Support Document #126792

  • Apple Support Document #126793

  • Apple Support Document #126794

  • Apple Support Document #126797

  • Apple Support Document #126798

  • Apple Support Document #126799

  • Apple Support Document #126800
  • Related CVEs
  • CVE-2026-28861: Apple Safari XSS Vulnerability

  • CVE-2024-40817: Apple Safari XSS Vulnerability

  • CVE-2024-44309: Debian Linux Cookie Management XSS Flaw

  • CVE-2025-24113: Apple Safari XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English