CVE-2024-40785
Apple Safari vulnerability analysis and mitigation

Overview

CVE-2024-40785 is a cross-site scripting (XSS) vulnerability affecting multiple Apple operating systems and software, including iOS 16.7.9, iPadOS 16.7.9, Safari 17.6, iOS 17.6, iPadOS 17.6, watchOS 10.6, tvOS 17.6, visionOS 1.3, and macOS Sonoma 14.6. The vulnerability was discovered by Johan Carlsson (joaxcar) and was publicly disclosed on July 29, 2024 (Apple Security).

Technical details

The vulnerability exists in the WebKit component and occurs when processing maliciously crafted web content, which may lead to a cross-site scripting attack. The issue was addressed with improved checks in WebKit (WebKit Bugzilla: 273805). The vulnerability has been assigned a CVSS v3.1 base score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

When successfully exploited, this vulnerability allows processing of maliciously crafted web content that may lead to a cross-site scripting attack, potentially compromising user data and web session integrity (Apple Security).

Mitigation and workarounds

Apple has released security updates to address this vulnerability across multiple platforms. Users should update to iOS 16.7.9, iPadOS 16.7.9, Safari 17.6, iOS 17.6, iPadOS 17.6, watchOS 10.6, tvOS 17.6, visionOS 1.3, or macOS Sonoma 14.6, depending on their device (Apple Security).

Additional resources


SourceThis report was generated using AI

Related Apple Safari vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2023-43000HIGH8.8
  • Apple SafariApple Safari
  • webkit2gtk3-jsc
NoYesNov 05, 2025
CVE-2025-43502HIGH7.5
  • Apple SafariApple Safari
  • cpe:2.3:a:apple:safari
NoYesNov 04, 2025
CVE-2025-31266MEDIUM4.3
  • Apple SafariApple Safari
  • cpe:2.3:a:apple:safari
NoYesNov 21, 2025
CVE-2025-43503MEDIUM4.3
  • Apple SafariApple Safari
  • cpe:2.3:a:apple:safari
NoYesNov 04, 2025
CVE-2025-43493MEDIUM4.3
  • Apple SafariApple Safari
  • cpe:2.3:a:apple:safari
NoYesNov 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management