CVE-2021-43530 Cross-site scripting in Firefox

Medium 6.1 Published Updated

Universal XSS in Firefox for Android via QR code scanning allows attackers to execute scripts, potentially leading to account takeover.

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
None listed

What is CVE-2021-43530?

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

A Universal XSS vulnerability was present in Firefox for Android resulting from improper sanitization when processing a URL scanned from a QR code. *This bug only affects Firefox for Android. Other operating systems are unaffected.*. This vulnerability affects Firefox < 94.

Weakness: CWE-79

Which versions are affected by CVE-2021-43530?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2021-43530?

No fix has been published for CVE-2021-43530 yet. Limit exposure of the affected software until one is available.

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

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

Public exploit code: 1 proofs of concept on GitHub.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-mgfp-hcp6-39f4.

Is CVE-2021-43530 in your software?

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

Check your SBOMs for free