CVEfocus › CVE database › CVE-2024-40785

CVE-2024-40785

CVSS 6.1 MediumEPSS 0.8% (higher than 55% of CVEs)Published 2024-07-29Updated 2026-04-02Assigner: apple

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.

CWE-79

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
9Fix pending
6Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04qtwebkit-opensource-srcWill not fix
webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not…
UBUNTU-CVE-2024-40785
Ubuntu 24.04webkit2gtkNot affected
vulnerable_code_not_present
Ubuntu 22.04qtwebkit-opensource-srcWill not fix
webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not…
UBUNTU-CVE-2024-40785
Ubuntu 22.04webkit2gtkNot affected
vulnerable_code_not_present
Ubuntu 22.04wpewebkitWill not fix
webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not…
UBUNTU-CVE-2024-40785
Ubuntu 20.04qtwebkit-opensource-srcWill not fix
webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not…
UBUNTU-CVE-2024-40785
Ubuntu 20.04webkit2gtkWill not fix
webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not…
UBUNTU-CVE-2024-40785
Ubuntu 20.04wpewebkitWill not fix
webkit receives limited support. For details, see https://wiki.ubuntu.com/SecurityTeam/FAQ#webkit webkit in Ubuntu uses the JavaScriptCore (JSC) engine, not…
UBUNTU-CVE-2024-40785
Ubuntu 18.04qtwebkit-opensource-srcFix pendingUBUNTU-CVE-2024-40785
Ubuntu 18.04qtwebkit-sourceFix pendingUBUNTU-CVE-2024-40785
Ubuntu 18.04webkit2gtkFix pendingUBUNTU-CVE-2024-40785
Ubuntu 18.04webkitgtkFix pendingUBUNTU-CVE-2024-40785
Ubuntu 16.04qtwebkit-opensource-srcFix pendingUBUNTU-CVE-2024-40785
Ubuntu 16.04qtwebkit-sourceFix pendingUBUNTU-CVE-2024-40785
Ubuntu 16.04webkit2gtkFix pendingUBUNTU-CVE-2024-40785
Ubuntu 16.04webkitgtkFix pendingUBUNTU-CVE-2024-40785
Debian 14webkit2gtkFixed2.44.3-1DEBIAN-CVE-2024-40785
Debian 14wpewebkitFixed2.44.3-1DEBIAN-CVE-2024-40785
Debian 13webkit2gtkFixed2.44.3-1DEBIAN-CVE-2024-40785
Debian 13wpewebkitFixed2.44.3-1DEBIAN-CVE-2024-40785
Debian 12webkit2gtkFixed2.44.3-1~deb12u1DEBIAN-CVE-2024-40785
Debian 12wpewebkitFix pendingDEBIAN-CVE-2024-40785

What the vendor says

As published in the CVE record by apple, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.