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

Medium 6.1 Published Updated

Cross-site scripting in GNOME Web allows attackers to inject scripts via page titles in View Source or Reader modes.

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-45087?

CVE-2021-45087 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 when View Source mode or Reader mode is used, as demonstrated by a a page title.

Weakness: CWE-79

Which versions are affected by CVE-2021-45087?

It affects 2 products.

Products include Debian Debian Linux, Gnome Epiphany.

How do I fix CVE-2021-45087?

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-45087 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-45087, GHSA-vw96-55hq-p2pg, UBUNTU-CVE-2021-45087.

Is CVE-2021-45087 in your software?

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

Check your SBOMs for free