CVE-2021-45086 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in the GNOME Web browser by manipulating a server's suggested filename during PDF downloads.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-45086?

CVE-2021-45086 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 16 Dec 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

XSS can occur in GNOME Web (aka Epiphany) before 40.4 and 41.x before 41.1 because a server's suggested_filename is used as the pdf_name value in PDF.js.

Weakness: CWE-79

Which versions are affected by CVE-2021-45086?

It affects 2 products.

Products include Debian Debian Linux, Gnome Epiphany.

How do I fix CVE-2021-45086?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-45086 being exploited?

There is no known exploitation of CVE-2021-45086 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-45086, GHSA-vv96-jq6f-v366, UBUNTU-CVE-2021-45086.

Is CVE-2021-45086 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free