Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-40817: Visiting a website that frames malicious content may lead to UI spoofing in Apple Safari

0
Medium
VulnerabilityCVE-2024-40817cvecve-2024-40817
Published: Mon Jul 29 2024 (07/29/2024, 22:16:51 UTC)
Source: CVE Database V5
Vendor/Project: Apple
Product: Safari

Description

The issue was addressed with improved UI handling. This issue is fixed in Safari 17.6, macOS Monterey 12.7.6, macOS Sonoma 14.6, macOS Ventura 13.6.8. Visiting a website that frames malicious content may lead to UI spoofing.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 23:32:01 UTC

Technical Analysis

CVE-2024-40817 is a UI spoofing vulnerability in Apple Safari identified by CWE-1021, which involves improper UI handling when malicious content is framed within a webpage. This vulnerability allows an attacker to craft a website that, when visited by a user, can manipulate the browser's user interface elements to present deceptive information, potentially tricking users into believing they are interacting with legitimate content. The issue affects Safari versions prior to 17.6 and macOS versions including Monterey 12.7.6, Sonoma 14.6, and Ventura 13.6.8, where the vulnerability has been fixed by improving UI handling mechanisms. The attack vector is remote (network), requires no privileges or authentication, but does require user interaction in the form of visiting a maliciously crafted webpage. The scope is changed (S:C), indicating that exploitation can affect resources beyond the vulnerable component, such as user trust and potentially sensitive data entered into spoofed UI elements. The CVSS v3.1 base score is 6.1, reflecting a medium severity level with low confidentiality and integrity impact, no availability impact, and low attack complexity. No known exploits have been reported in the wild, but the vulnerability poses a risk of phishing or social engineering attacks leveraging the spoofed UI to deceive users.

Potential Impact

The primary impact of CVE-2024-40817 is on user trust and potential confidentiality breaches through UI spoofing. Attackers can deceive users into entering sensitive information such as credentials, financial data, or personal details into spoofed interface elements, leading to credential theft or fraud. While the vulnerability does not directly compromise system integrity or availability, the indirect effects of successful phishing or social engineering attacks can be significant, including unauthorized access to accounts and data breaches. Organizations relying on Safari for web access, especially in environments with sensitive data or high-value targets, face increased risk of targeted attacks exploiting this vulnerability. The requirement for user interaction limits automated exploitation but does not eliminate risk, as users may be tricked into visiting malicious sites through phishing emails or compromised legitimate websites. The vulnerability affects a broad user base given Safari's market share on macOS and iOS devices, potentially impacting enterprises, government agencies, and individual users globally.

Mitigation Recommendations

To mitigate CVE-2024-40817, organizations and users should promptly update Safari to version 17.6 or later and ensure macOS is updated to the fixed versions (Monterey 12.7.6, Sonoma 14.6, Ventura 13.6.8). Beyond patching, organizations should implement web filtering solutions to block access to known malicious websites and employ DNS filtering to reduce exposure to phishing domains. User awareness training focused on recognizing phishing attempts and suspicious URLs can reduce the risk of user interaction with malicious content. Deploying endpoint protection that monitors browser behavior for anomalies may help detect exploitation attempts. Network-level protections such as intrusion detection systems (IDS) and web proxies configured to inspect and block malicious framing or content injection can provide additional defense layers. Organizations should also consider implementing multi-factor authentication (MFA) to mitigate the impact of credential theft resulting from UI spoofing attacks. Regular security assessments and penetration testing can help identify if similar UI spoofing vectors exist in internal web applications.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apple
Date Reserved
2024-07-10T17:11:04.696Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690a3b57ff58c9332ff07976

Added to database: 11/4/2025, 5:43:51 PM

Last enriched: 4/2/2026, 11:32:01 PM

Last updated: 5/13/2026, 6:19:42 AM

Views: 50

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses