CVE-2025-8042 Sandboxed iframe could start downloads

Critical 9.8 Published Updated

Attackers can bypass sandbox restrictions in Firefox for Android to initiate unauthorized downloads from iframes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-8042?

CVE-2025-8042 is a critical vulnerability in Mozilla Firefox, published on 19 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Firefox for Android allowed a sandboxed iframe without the `allow-downloads` attribute to start downloads. This vulnerability was fixed in Firefox 141.

Weakness: CWE-732

Which versions are affected by CVE-2025-8042?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2025-8042?

Upgrade to a fixed version.

Is CVE-2025-8042 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-86q6-8hr2-487f.

Is CVE-2025-8042 in your software?

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

Check your SBOMs for free