Skip to content
UI spoofing Disclosed report Intermediate CVE-2026-8962

Mixed Content blocker bypass via `data:` iframe

A browser bug report claims that a blob: URL opened in a new window can embed a data: iframe that loads an insecure HTTP image inside an HTTPS page, bypassing mixed content blocking. The same trick is said to open the popup without user interaction, evading the popup blocker.

Manojkumar Jaganathan Follow

Originally disclosed on Mozilla

  • Fixed in 4 months
  • Paid in 4 months
  • Disclosed after 4 months

Created attachment 9531594 Screenshot 2025-12-09 at 02.11.34.png

Hi Team,

  • In Firefox version 145.0.2 on macOS Tahoe 26.1, it is possible to bypass both mixed content protection and popup blockers by using a blob: URL to inject insecure HTTP content (such as an image) within a secure HTTPS context. The content loads automatically without any user interaction, potentially leading to the exposure of malicious or insecure resources.

Proof of Concept:

  • I have uploaded the proof of concept video in my drive and turned on the link sharing for your review and reference.

https://drive.google.com/file/d/1Vlyo_0VrtCdT0qdDyoZAraToCkhDj7gr/view?usp=sharing

Impact:

  • Mixed Content Bypass: Insecure HTTP resources are loaded within a secure HTTPS page, potentially undermining the security of the site and compromising the user's experience.
  • Popup Blocker Evasion: The attack bypasses the popup blocker, automatically opening a malicious popup without user consent.
  • Security Risk: This vulnerability could be exploited to load malicious content, such as scripts, ads, or images, which can lead to phishing attacks, malware delivery, or other types of exploits.

Reproduction Steps:

  1. On a secure HTTPS site (e.g., apple.com or openai.com or youtube.com), open the browser console.

  2. Enter the following JavaScript code:

    JavaScript
    document.body.addEventListener("click", () => {
      const html = `<img src="http://hackerbro.net/assets/images/preload-logo.png">`;
      const encoded = "data:text/html," + encodeURIComponent(html);
    
      const blob = new Blob(
        [`<iframe src="${encoded}" style="width:100%;height:100%;border:0;"></iframe>`],
        { type: "text/html" }
      );
    
      const url = URL.createObjectURL(blob);
      window.open(url);
    });
    console.log("Click anywhere on the page to open the window.");
    
  3. Click anywhere on the page to trigger the popup.

  4. A new popup opens with a blob: URL (blob:https://www.youtube.com/...) and automatically loads an insecure HTTP image (http://hackerbro.net/assets/images/preload-logo.png), bypassing mixed content blocking.

Observed Behaviour:

  • The insecure image is loaded inside the popup, despite the parent page being served over HTTPS.
  • No prompt or warning is shown to the user to allow mixed content.
  • The popup opens automatically, bypassing any popup blocker protections.
  • The popup loads content from an HTTP URL without requiring any user interaction or consent, resulting in unintended mixed content exposure.

Expected Behaviour:

  • The image (http://hackerbro.net/assets/images/preload-logo.png) should be blocked or upgraded to HTTPS, as the parent page is loaded over HTTPS.
  • The popup should require user interaction to open, and the popup blocker should prevent automatic opening.

Recommendation:

  1. Enforce strict mixed content blocking inside blob: and data: URLs, preventing the loading of insecure HTTP resources.
  2. Ensure that popups triggered in secure contexts do not automatically load content from insecure sources without user interaction.
  3. Strengthen popup blocker mechanisms to prevent bypass via blob: URLs or similar schemes.

The original report as published on Mozilla's Bugzilla, by Manojkumar Jaganathan. 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 browser does not apply mixed content checks to content loaded inside blob: and data: documents, and does not treat the scripted window opening as needing user activation.

Impact

Insecure HTTP content could be loaded inside a secure page without a warning, and a popup could open without user consent, which the reporter says could support phishing or malware delivery; the report is limited to Firefox on macOS.

What the attacker needed

Firefox 145.0.2 on macOS; Victim visits a page running the script; Victim clicks once on the page

The fix

The browser should enforce mixed content blocking inside blob: and data: documents and require user interaction before such popups open; the text does not say whether this was fixed.

How it was found

  1. Open a secure HTTPS site and open the browser console.
  2. Run a script that registers a click handler which builds a blob: page containing a data: iframe with an HTTP image and opens it in a new window.
  3. Click anywhere on the page to trigger the popup.
  4. Observe the new blob: window loading the insecure HTTP image without any warning.

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.

Web pages served over HTTPS are supposed to refuse to load insecure HTTP content, and browsers are supposed to stop websites opening new windows on their own. This report says a crafted page can get around both rules by wrapping the insecure content in a special in-page address and opening it in a new window. The result is that insecure content appears on a secure site without the user agreeing to it.

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 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.