CVE-2023-29540 Open redirect in Firefox

Medium 6.1 Published Updated

An attacker can redirect users to external protocol links in sandboxed iframes, bypassing navigation restrictions in Firefox and Focus for Android.

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-2023-29540?

CVE-2023-29540 is a medium-severity vulnerability in Mozilla Firefox, published on 2 Jun 2023. 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

Using a redirect embedded into <code>sourceMappingUrls</code> could allow for navigation to external protocol links in sandboxed iframes without <code>allow-top-navigation-to-custom-protocols</code>. This vulnerability affects Firefox for Android < 112, Firefox < 112, and Focus for Android < 112.

Weakness: CWE-601

Which versions are affected by CVE-2023-29540?

It affects 3 products.

Products include Mozilla Firefox, Mozilla Firefox Mobile, Mozilla Focus.

How do I fix CVE-2023-29540?

Upgrade to a fixed version.

Is CVE-2023-29540 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-3xgq-mgc9-7wqx, UBUNTU-CVE-2023-29540.

Is CVE-2023-29540 in your software?

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

Check your SBOMs for free