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

 

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

Published: January 17, 2022


Vulnerability identifier: #VU59663
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-45086
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, because a server's suggested_filename is used as the pdf_name value in PDF.js. A remote attacker can and execute arbitrary HTML and script code in user's browser in context of vulnerable website.



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-45086

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