Skip to content
UI spoofing Disclosed report Intermediate CVE-2025-11716

iframe sandbox on Android allows opening to external protocol (including `intent:`)

On Firefox for Android, a sandboxed iframe could open an external protocol such as the phone dialler even though none of the sandbox flags that should permit this were set. An attacker could use this to trigger external apps from embedded content that the sandbox was meant to contain.

haxatron1 Follow

Originally disclosed on Mozilla

  • Fixed in 2.5 years
  • Paid in 5 months
  • Disclosed after 2.5 years
Text
iframe sandbox requires one of the following to open external protocol. (ref: https://chromestatus.com/feature/5680742077038592)

- allow-popups
- allow-top-navigation
- allow-top-navigation-with-user-activation
- allow-top-navigation-to-custom-protocols

On Firefox for Android, iframe sandbox requires none. Compare this to Firefox for Desktop where it is correctly blocked.

STR:
Go to external.html and click the link. You will open Phone app. 

Expected: Phone app not opened because none of the required attributes are not set.

The original report as published on Mozilla's Bugzilla, by haxatron1. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Android build did not enforce the sandbox requirement for top-level navigation to custom protocols, so the check applied on desktop was missing there.

Impact

A sandboxed iframe could launch external apps on Android, bypassing the containment the sandbox is meant to provide; desktop Firefox was not affected.

What the attacker needed

Firefox on Android; victim opens a page with a sandboxed iframe; victim clicks a link in the iframe

How it was found

  1. Open the test page containing the sandboxed iframe.
  2. Click the link inside the iframe.
  3. The phone app opens, although no sandbox permission flag was set.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A sandbox is a restriction placed on embedded content inside a web page, like a frame within a frame. Normally the browser should refuse to let that restricted content launch other apps on your phone, such as the dialler, unless the page explicitly asks for that permission. Here the Android browser skipped that check, so restricted content could still open an outside app.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by haxatron1

View all

30 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.