Skip to main content
CVE-2024-40785VulnerabilityPublished Updated

CVE-2024-40785: Apple Safari · Processing maliciously crafted web content may lead to a cross site scripting attack

Affects Apple SafariSource CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium · fixed in 17.6 : update Apple Safari when convenient.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 17.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Apple SafariAffected
  • =0
Fixed in–

AI-suggested

Organizations and users should immediately apply the security updates released by Apple, including Safari 17.6 and the corresponding OS patches for iOS, iPadOS, macOS Sonoma, tvOS, visionOS, and watchOS. Beyond patching, organizations should implement browser security best practices such as enabling content security policies (CSP) where possible to restrict script execution origins. User education is vital to reduce the risk of social engineering attacks that could lead to exploitation, emphasizing caution when clicking unknown or suspicious links. Network-level protections like web filtering and intrusion prevention systems can help block access to known malicious sites. Monitoring browser logs and network traffic for unusual activity may help detect attempted exploitation. For high-security environments, consider restricting Safari usage or deploying endpoint protection solutions that can detect script injection attempts. Regular vulnerability scanning and penetration testing should include checks for XSS vulnerabilities in client environments. Finally, maintain an incident response plan that includes browser-based attack scenarios.

Description

This issue was addressed with improved checks. This issue is fixed in Safari 17.6, iOS 16.7.9 and iPadOS 16.7.9, iOS 17.6 and iPadOS 17.6, macOS Sonoma 14.6, tvOS 17.6, visionOS 1.3, watchOS 10.6. Processing maliciously crafted web content may lead to a cross site scripting attack.

References

Community reviews

Loading reviews…