Cross-site scripting in GNOME Web (Epiphany) - CVE-2021-45086
Published: January 17, 2022
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
epiphany-browser (Debian package)
epiphany-browser (Ubuntu package)
epiphany
epiphany-debuginfo
epiphany-debugsource
epiphany-runtime
Ubuntu
openEuler
How to mitigate CVE-2021-45086
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