Cross-site scripting in GNOME Web (Epiphany) - CVE-2021-45087

 

Cross-site scripting in GNOME Web (Epiphany) - CVE-2021-45087

Published: January 17, 2022


Vulnerability identifier: #VU59664
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-2021-45087
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 when View Source mode or Reader mode is used. A remote attacker can 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

GNOME Web (Epiphany)
epiphany-browser (Debian package)
epiphany-browser (Ubuntu package)
epiphany
epiphany-debuginfo
epiphany-debugsource
epiphany-runtime
Ubuntu
openEuler

How to mitigate CVE-2021-45087

Install updates from vendor's website.

GNOME Web (Epiphany) - addressed in versions 40.4, 41.1
epiphany-browser (Debian package) - update to 3.38.2-1+deb11u1
epiphany-browser (Ubuntu package) - addressed in versions 3.36.4-0ubuntu2, 42.1-1ubuntu1
epiphany - update to 40.6-1
epiphany-debuginfo - update to 40.6-1
epiphany-debugsource - update to 40.6-1
epiphany-runtime - update to 40.6-1

External References

Related Security Bulletins