Universal cross-site scripting in WebKitGTK+ and WPE WebKit - CVE-2024-40857

 

Universal cross-site scripting in WebKitGTK+ and WPE WebKit - CVE-2024-40857

Published: September 17, 2024


Vulnerability identifier: #VU97351
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2024-40857
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

WebKitGTK+
WPE WebKit
Gentoo Linux
visionOS
watchOS
tvOS
Fedora
macOS
Apple iOS
iPadOS
Apple Safari
net-libs/webkit-gtk
webkit2gtk4.0

How to mitigate CVE-2024-40857

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

visionOS - update to 2.0
watchOS - update to 11.0
Apple Safari - update to 18.0
tvOS - update to 18.0
net-libs/webkit-gtk - update to 2.26.4
webkit2gtk4.0 - addressed in versions 2.46.1-2.fc40, 2.46.1-2.fc41
macOS - update to 15.0 24A335
Apple iOS - update to 18.0 22A3354
iPadOS - update to 18.0 22A3354

External References

Related Security Bulletins