CVE-2021-29944 Cross-site scripting in Firefox
HTML injection in Firefox for Android Reader View allows attackers to inject malicious HTML, bypassing some security controls.
- 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-29944?
CVE-2021-29944 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 24 Jun 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
Lack of escaping allowed HTML injection when a webpage was viewed in Reader View. While a Content Security Policy prevents direct code execution, HTML injection is still possible. *Note: This issue only affected Firefox for Android. Other operating systems are unaffected.*. This vulnerability affects Firefox < 88.
Weakness: CWE-79
Which versions are affected by CVE-2021-29944?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2021-29944?
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-29944 being exploited?
There is no known exploitation of CVE-2021-29944 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-cg6w-97rj-9hvv.