cve.bz

CVE-2024-40785 apple: Cross-site Scripting

6.1 mediumEPSS 0.8%

Medium (6.1) in apple. EPSS 0.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 57th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-07-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-40785 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-40785?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-40785?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-40785 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apple Safaribefore 17.6
Apple iOS and iPadOSbefore 16.7.9
Apple iOS and iPadOSbefore 17.6
Apple macOSbefore 14.6
Apple tvOSbefore 17.6
Apple visionOSbefore 1.3
Apple watchOSbefore 10.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11webkit2gtk2.44.3-1~deb11u1DLA-3864-1
Debian12webkit2gtk2.44.3-1~deb12u1DEBIAN-CVE-2024-40785 DSA-5762-1
Debian12wpewebkitno fix listedDEBIAN-CVE-2024-40785
Debian13, 14wpewebkit, webkit2gtk2.44.3-1DEBIAN-CVE-2024-40785
Ubuntu16.04:LTS, 18.04:LTSwebkitgtk, webkit2gtk, qtwebkit-source and 1 moreno fix listedUBUNTU-CVE-2024-40785
Ubuntu20.04:LTSwpewebkit, webkit2gtk, qtwebkit-opensource-srcno fix listedUBUNTU-CVE-2024-40785
Ubuntu22.04:LTSwpewebkit, qtwebkit-opensource-srcno fix listedUBUNTU-CVE-2024-40785
Ubuntu24.04:LTSqtwebkit-opensource-srcno fix listedUBUNTU-CVE-2024-40785
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morewebkit2gtk32.44.3-150200.118.1SUSE-SU-2024:3052-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morewebkit2gtk3, webkit2gtk4, webkit2gtk3-soup22.44.3-150400.4.88.1SUSE-SU-2024:3091-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Manager Proxy 4.3, Manager Server 4.3webkit2gtk3-soup22.44.3-150400.4.88.1SUSE-SU-2024:3091-1
SUSELinux Enterprise Module for Basesystem 15 SP6webkit2gtk4, webkit2gtk3-soup22.44.3-150600.12.9.1SUSE-SU-2024:3109-1
SUSELinux Enterprise Module for Desktop Applications 15 SP5webkit2gtk32.44.3-150400.4.88.1SUSE-SU-2024:3091-1
SUSELinux Enterprise Module for Desktop Applications 15 SP6webkit2gtk32.44.3-150600.12.9.1SUSE-SU-2024:3109-1
SUSELinux Enterprise Module for Development Tools 15 SP5webkit2gtk42.44.3-150400.4.88.1SUSE-SU-2024:3091-1
SUSELinux Enterprise Module for Development Tools 15 SP6webkit2gtk42.44.3-150600.12.9.1SUSE-SU-2024:3109-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 and 1 morewebkit2gtk32.44.3-4.12.1SUSE-SU-2024:3005-1
openSUSELeap 15.5webkit2gtk3, webkit2gtk4, webkit2gtk3-soup22.44.3-150400.4.88.1SUSE-SU-2024:3091-1
openSUSELeap 15.6webkit2gtk3, webkit2gtk4, webkit2gtk3-soup22.44.3-150600.12.9.1SUSE-SU-2024:3109-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON