Skip to content
Open redirect Disclosed report Intermediate CVE-2026-2032

Address Bar Spoofing in Firefox iOS via Navigation State Desynchronization on google.com/csi (Issue #31800)

Firefox on iOS allowed a page that opened a new tab to replace that tab's document after it had navigated to a Google URL, so the address bar kept showing the trusted Google address while attacker-controlled content was displayed. An attacker could use this to phish for credentials under a trusted-looking URL.

Qadhafy Muhammad Tera Follow

Originally disclosed on Mozilla

  • Fixed in 3 hours
  • Paid in 33 days
  • Disclosed after 3 hours

Steps to reproduce

  1. Open Firefox on iOS.

  2. Visit the PoC page: https://ecdnts-del.github.io/spoof/rec.html

  3. Tap the Start Test button.

  4. A new tab opens navigating to:

    https://www.google.com/csi
    
  5. Wait a few seconds while the script executes.

  6. Observe that the content of the opened tab changes and displays an attacker-controlled page (loaded inside an iframe).

  7. Check the address bar of that tab.


Expected behavior

After navigating to a cross-origin page (google.com), the opener page should no longer be able to modify the document of the opened tab. The address bar URL and the rendered content must always stay synchronized to prevent origin spoofing.


Actual behavior

On Firefox iOS, the document of the newly opened tab can be replaced after navigation to google.com/csi. The address bar continues to display the trusted Google URL while attacker-controlled content is rendered. This results in address bar spoofing and allows arbitrary external content to appear under a trusted origin.


What this code is

This is a demo login page used in a PoC to show that user input can be sent to an external server.

It is not real authentication — it’s just a data-submission test.


Key parts of the code

1. Input fields

HTML
<input id="username" placeholder="username">
<input id="password" type="password" placeholder="password">

Two fields collect user input:

  • username
  • password

2. Button trigger

HTML
<button onclick="send()">LOGIN & KIRIM</button>

Clicking the button runs the send() function.


3. Webhook endpoint

JavaScript
const WEBHOOK_URL = "https://webhook.site/22d5ac97-cf01-4c52-8262-9b05e302e583";

This is a temporary request-capture URL from webhook.site. Any HTTP request sent here is logged and viewable in their dashboard.


4. Attacker-controlled iframe

HTML
<iframe src="https://cnfdnfial-ops.github.io/spoof/login.html"></iframe>

Loads remote content controlled by the attacker, proving arbitrary external pages can be displayed inside a window that appears to be a trusted origin.


5. Resulting issue

  • Address bar shows a trusted Google URL
  • Page content is attacker-controlled
  • Entered credentials are exfiltrated to an external server (evidence captured via webhook)

Example evidence endpoint used in PoC: https://webhook.site/22d5ac97-cf01-4c52-8262-9b05e302e583

This origin mismatch leads to Address Bar Spoofing / Origin Confusion, enabling realistic phishing and credential theft under a trusted-looking URL.

Device Information

  • Device Model: iPhone 16
  • iOS Version: 26.2 (23C55)
  • Firefox iOS Version: 147.1 (Build 66967)

Browser Impact

  • Microsoft Edge (iOS): Not affected
  • Google Chrome (iOS): Not affected
  • Safari (iOS): Not affected

Real Impact

  • Users can be tricked into believing they are on a trusted Google page while actually viewing attacker-controlled content.
  • Sensitive data (usernames, passwords, OTP, personal info) can be stolen through realistic phishing forms.
  • Security indicators (address bar URL) become unreliable, breaking core browser trust guarantees.
  • In enterprise environments, this can lead to account takeover and lateral access to internal services.

Potential Impact

  • Large-scale phishing campaigns with very high success rate due to trusted URL display.
  • Bypass of user security awareness training that relies on checking the address bar.
  • Credential theft for email, banking, social media, or SSO accounts.
  • Reputational damage to affected trusted domains (e.g., Google) even though they are not hosting the malicious content.
  • Can be combined with social engineering to distribute malware or session hijacking attacks.

I previously believed that when I discovered a security issue in the Firefox browser, reporting it through HackerOne was the correct channel. However, I later realized that this may not have been the appropriate reporting path for Firefox iOS–related issues.

I had reported a similar issue before, and in my recent testing I found that I can actually perform this attack without relying on /csi.

Tested Environment Device: iPhone 16 OS: iOS 26.2 Browser: Firefox iOS Version: 146.1 (65627)

In this PoC, I did not depend on /csi. I was able to display attacker-controlled content using only a port-based technique, and this worked successfully on Firefox iOS version 146.1 (65627).

Firefox iOS Version: 147.1 (Build 66967)

The same port-only technique no longer works. From my testing, it now appears that /csi is a required component for the PoC to function. This suggests that the attack surface has been reduced, and the behavior is now more constrained.

From a security perspective, this makes the technical condition clearer: the older version allowed exploitation without /csi, while the newer behavior seems to depend on it. This difference may help in understanding the root cause, scope, and any mitigation that has been introduced.

I’m sharing this to ensure the historical context and technical evolution of the issue are accurately understood.

Best regards, Qadhafy Muhammad Tera

I would like to clarify the duplicate status of my report: https://hackerone.com/reports/3485422

The report was marked as a duplicate. However, to my understanding, it is not a duplicate of another researcher’s submission. Instead, it appears to be related to my own previous report describing the same underlying issue.

The original report as published on Mozilla's Bugzilla, by Qadhafy Muhammad Tera. 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 a navigation state desynchronisation in Firefox iOS where the opener retains the ability to modify the opened tab's document after a cross-origin navigation, so the address bar and rendered content diverge.

Impact

An attacker could show a fake login page under a trusted Google address to steal credentials; the report notes other iOS browsers were not affected and that a specific Google path was required in the newer version.

What the attacker needed

Firefox on iOS; victim opens a link to the PoC page; victim taps Start Test; navigation to a specific Google path

How it was found

  1. Open Firefox on iOS.
  2. Visit the proof-of-concept page.
  3. Tap the Start Test button.
  4. A new tab opens and navigates to the Google URL.
  5. Wait a few seconds while the script runs.
  6. Observe that the tab content changes to an attacker-controlled page while the address bar still shows the Google URL.

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.

When you open a link in a new tab, the page that opened it should not be able to change what that new tab shows once it has gone to a different website. Here, the new tab went to a Google address, but the original page could still swap in its own content, so the address bar said Google while the page was actually controlled by the attacker. That makes it easier to trick people into typing passwords into a fake page.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More by Qadhafy Muhammad Tera

View all

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

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.