CVE-2021-29953 Cross-site scripting in Firefox
A malicious webpage could force Firefox for Android users to execute attacker-controlled JavaScript in another domain's context.
- 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-29953?
CVE-2021-29953 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
A malicious webpage could have forced a Firefox for Android user into executing attacker-controlled JavaScript in the context of another domain, resulting in a Universal Cross-Site Scripting vulnerability. *Note: This issue only affected Firefox for Android. Other operating systems are unaffected. Further details are being temporarily withheld to allow users an opportunity to update.*. This vulnerability affects Firefox < 88.0.1 and Firefox for Android < 88.1.3.
Weakness: CWE-79
Which versions are affected by CVE-2021-29953?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2021-29953?
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-29953 being exploited?
There is no known exploitation of CVE-2021-29953 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-wpmv-r36p-cg3f.