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-2024-40817

CVE-2024-40817: Apple Safari XSS Vulnerability

CVE-2024-40817 is a cross-site scripting flaw in Apple Safari that enables UI spoofing through malicious framed content. This article covers the technical details, affected macOS and Safari versions, and mitigation.

Updated: January 22, 2026

CVE-2024-40817 Overview

CVE-2024-40817 is a UI spoofing vulnerability affecting Apple Safari and macOS systems. The issue stems from improper UI handling that allows attackers to manipulate the user interface when victims visit websites containing malicious framed content. This vulnerability was addressed by Apple through improved UI handling mechanisms in the affected products.

Critical Impact

Visiting a website that frames malicious content may lead to UI spoofing, potentially enabling phishing attacks, credential theft, or user deception through fake interface elements.

Affected Products

  • Apple Safari versions prior to 17.6
  • Apple macOS Sonoma versions prior to 14.6
  • Apple macOS Monterey versions prior to 12.7.6
  • Apple macOS Ventura versions prior to 13.6.8

Discovery Timeline

  • July 29, 2024 - CVE-2024-40817 published to NVD
  • November 4, 2025 - Last updated in NVD database

Technical Details for CVE-2024-40817

Vulnerability Analysis

This vulnerability is classified under CWE-1021 (Improper Restriction of Rendered UI Layers or Frames), which relates to improper handling of UI elements when rendering framed content. The flaw allows malicious actors to craft websites with specially designed framed content that can manipulate or spoof legitimate UI elements displayed to the user.

The vulnerability requires user interaction, as victims must visit a malicious website for the attack to succeed. However, once a user navigates to such a site, the attacker can overlay or modify UI elements to deceive the user into taking unintended actions, such as entering credentials into fake login forms or clicking on disguised elements.

Root Cause

The root cause of this vulnerability lies in Safari's improper handling of UI rendering when processing framed content from untrusted sources. The browser failed to properly isolate or restrict how framed content could interact with or influence the displayed user interface, allowing malicious frames to create convincing spoofed UI elements that appear legitimate to the end user.

Attack Vector

The attack leverages a network-based vector where attackers host malicious websites containing specially crafted framed content. When a victim visits such a site, the malicious frames can manipulate the browser's UI rendering to display spoofed elements.

The exploitation flow typically involves:

  1. Attacker creates a malicious website with carefully constructed iframe or frame elements
  2. The framed content is designed to overlay or mimic legitimate browser UI components
  3. Victim visits the malicious website through normal browsing or via a phishing link
  4. The spoofed UI elements deceive the user into believing they are interacting with legitimate interface components
  5. User may unknowingly submit credentials, approve actions, or interact with attacker-controlled elements

This type of attack is particularly effective for phishing campaigns and social engineering attacks where visual deception is key to compromising user trust.

Detection Methods for CVE-2024-40817

Indicators of Compromise

  • Unusual iframe or frame element behavior in web page rendering
  • User reports of unexpected UI elements or overlays appearing during browsing sessions
  • Phishing attempts that leverage pixel-perfect browser UI spoofing
  • Websites with complex nested framing structures designed to obscure content origin

Detection Strategies

  • Monitor for browser behavior anomalies when rendering framed content
  • Implement content security policies that restrict framing from untrusted sources
  • Deploy endpoint detection tools capable of identifying UI manipulation attempts
  • Analyze web traffic for suspicious framing patterns targeting Safari users

Monitoring Recommendations

  • Enable Safari's built-in security features and keep them updated
  • Monitor endpoint logs for unusual browser process behavior
  • Track user-reported phishing attempts that may exploit this vulnerability
  • Review web application logs for attempts to load content in manipulative frame structures

How to Mitigate CVE-2024-40817

Immediate Actions Required

  • Update Safari to version 17.6 or later immediately
  • Update macOS Sonoma to version 14.6 or later
  • Update macOS Monterey to version 12.7.6 or later
  • Update macOS Ventura to version 13.6.8 or later
  • Enable automatic updates to ensure timely security patch deployment

Patch Information

Apple has released security updates addressing this vulnerability across multiple products. Detailed patch information is available in the following security advisories:

  • Apple Security Update HT214118 - Safari 17.6
  • Apple Security Update HT214119 - macOS Sonoma 14.6
  • Apple Security Update HT214120 - macOS Ventura 13.6.8
  • Apple Security Update HT214121 - macOS Monterey 12.7.6

Additional technical details were disclosed via the Full Disclosure Mailing List.

Workarounds

  • Exercise caution when visiting unfamiliar websites, especially those with complex framing structures
  • Use browser extensions that block or restrict iframe loading from untrusted domains
  • Implement organizational policies restricting access to known malicious domains
  • Consider enabling strict content security policies on internal web applications to prevent framing attacks
  • Educate users about UI spoofing risks and phishing identification techniques
bash
# Check Safari version on macOS
/Applications/Safari.app/Contents/MacOS/Safari --version

# Check macOS version
sw_vers -productVersion

# Enable automatic updates via command line
sudo softwareupdate --schedule on

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.1

  • EPSS Probability0.41%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-1021
  • Technical References
  • Full Disclosure Mailing List Post

  • Full Disclosure Mailing List Post

  • Full Disclosure Mailing List Post

  • Full Disclosure Mailing List Post

  • Apple Knowledge Base HT214118

  • Apple Knowledge Base HT214119

  • Apple Knowledge Base HT214120
  • Vendor Resources
  • Apple Security Update HT214118

  • Apple Security Update HT214119

  • Apple Security Update HT214120

  • Apple Security Update HT214121

  • Apple Knowledge Base HT214121
  • Related CVEs
  • CVE-2026-28861: Apple Safari XSS Vulnerability

  • CVE-2026-20665: 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