Universal cross-site scripting in WebKitGTK+ and WPE WebKit - CVE-2021-1879

 

Universal cross-site scripting in WebKitGTK+ and WPE WebKit - CVE-2021-1879

Published: March 26, 2021 / Updated: October 12, 2021


Vulnerability identifier: #VU51747
CSH Severity: High
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-2021-1879
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

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 within the WebKit engine. 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 arbitrary 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.

Note, the vulnerability is being actively exploited in the wild.


Affected software

WebKitGTK+
WPE WebKit
watchOS
Apple iOS
iPadOS

How to mitigate CVE-2021-1879

Install update from vendor's website.

WebKitGTK+ - update to 2.32.0
watchOS - update to 7.3.3 18S830
Apple iOS - addressed in versions 12.5.2 16H30, 14.4.2 18D70
iPadOS - update to 14.4.2 18D70

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins