VYPR
Unrated severityNVD Advisory· Published Jun 2, 2023· Updated Jan 9, 2025

CVE-2023-29540

CVE-2023-29540

Description

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

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Mozilla Firefox allows navigation to external protocols in sandboxed iframes via redirects in sourceMappingUrls, bypassing security restrictions.

Vulnerability

A vulnerability exists in Firefox's source map handling where a redirect embedded into sourceMappingUrls can be used to navigate to external protocol links (e.g., tel:, mailto:) in sandboxed iframes lacking the allow-top-navigation-to-custom-protocols attribute [1][2]. This affects Firefox for Android < 112, Firefox < 112, and Focus for Android < 112 [1]. The browser only checks the protocol of the initial sourcemap URL, not the redirect target, allowing the bypass [2].

Exploitation

An attacker hosts a malicious source map file and a redirect script on their site, and an iframe on a victim site pointing to the attacker's redirect [2]. When the victim opens the iframe (even without user interaction), the browser fetches the sourcemap, follows the redirect to an external protocol link, and triggers the protocol handler dialog [2]. The attack does not require allow-top-navigation-to-custom-protocols and bypasses the user gesture requirement for external protocols [2].

Impact

An attacker can launch external protocol dialogs on the victim's device, which may lead to further exploitation such as making phone calls or sending messages without user consent [2]. This is particularly useful for malvertisers [2]. The impact is considered high [1].

Mitigation

Firefox 112, Firefox for Android 112, and Focus for Android 112 fix this vulnerability [1]. The fix involves preventing redirects when fetching sourcemaps or moving handling to the devtools server [2]. Users should update to the latest versions [1]. No workarounds are available for older versions.

AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

8

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

2

News mentions

0

No linked articles in our index yet.