CVE-2021-29975 Cross-site scripting in Firefox
Attackers can overlay controlled text on other domains via DOM manipulation, causing user confusion and potential spoofing in Firefox.
- 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-29975?
CVE-2021-29975 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 5 Aug 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
Through a series of DOM manipulations, a message, over which the attacker had control of the text but not HTML or formatting, could be overlaid on top of another domain (with the new domain correctly shown in the address bar) resulting in possible user confusion. This vulnerability affects Firefox < 90.
Which versions are affected by CVE-2021-29975?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2021-29975?
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-29975 being exploited?
There is no known exploitation of CVE-2021-29975 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-j6fq-x87m-xrqh, UBUNTU-CVE-2021-29975.