CVE-2021-23959 Cross-site scripting in Firefox

Medium 6.1 Published Updated

An XSS vulnerability in Firefox for Android error pages allowed spoofing attacks, including address bar manipulation.

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

CVE-2021-23959 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 26 Feb 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

An XSS bug in internal error pages could have led to various spoofing attacks, including other error pages and the address bar. Note: This issue only affected Firefox for Android. Other operating systems are unaffected. This vulnerability affects Firefox < 85.

Weakness: CWE-79

Which versions are affected by CVE-2021-23959?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2021-23959?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-f3g9-x4jw-849g.

Is CVE-2021-23959 in your software?

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

Check your SBOMs for free