CVE-2024-26281 Cross-site scripting in Firefox for iOS

Medium 4.7 Published Updated

Attackers can execute unauthorized scripts via QR code scanning in Firefox for iOS, potentially compromising user sessions and data.

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-2024-26281?

CVE-2024-26281 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 22 Feb 2024. 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

Upon scanning a JavaScript URI with the QR code scanner, an attacker could have executed unauthorized scripts on the current top origin sites in the URL bar. This vulnerability affects Firefox for iOS < 123.

Weakness: CWE-79

Which versions are affected by CVE-2024-26281?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2024-26281?

No fix has been published for CVE-2024-26281 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-2024-26281 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-7hw4-x97q-5wx2.

Is CVE-2024-26281 in your software?

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

Check your SBOMs for free