Universal cross-site scripting in WebKitGTK+ and WPE WebKit - CVE-2024-40857
Published: September 17, 2024
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
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
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
- Multiple vulnerabilities in WebKitGTK+ and WPE WebKit
- Multiple vulnerabilities in Apple Safari
- Multiple vulnerabilities in macOS Sequoia
- Multiple vulnerabilities in Apple iOS 18 and iPadOS 18
- Multiple vulnerabilities in Apple tvOS
- Multiple vulnerabilities in Apple watchOS
- Multiple vulnerabilities in Apple visionOS
- Fedora 41 update for webkit2gtk4.0
- Fedora 40 update for webkit2gtk4.0
- Gentoo update for WebKitGTK+