Skip to content
Open redirect Disclosed report Intermediate CVE-2025-3029

Firefox Desktop Address Bar Spoofing Using RTL Character and \u{E012A}

Firefox's address bar could be spoofed by combining a right-to-left (RTL) character in the domain with a long URL and a special Unicode character (U+E012A) plus spaces, causing the origin to be hidden and a fake domain to appear. An attacker could trick a user into believing they are on a legitimate site such as accounts.google.com.

Renwa Hiwa Follow

Originally disclosed on Mozilla

  • Fixed in 15 days
  • Paid in 20 days
  • Disclosed after 15 days
Text
Created attachment 9470247
Screen Recording 2025-03-06 at 3.55.03 PM.mov

This is similar to previous issue which the fix was incomplete, when visiting a domain or a subdomain which has an RTL character inside with a long URL we can hide the origin and only show the end of the URL, path or other queries. 
Firefox allows one whitespace but by using \u{E012A} with a whitespace we can have unlimited whitespaces inside the address bar, the attack is now like this: 
- RTL character inside the domain with a long query parameter
- Firefox hides the origin only shows the query parameter value
- Using \u{E012A}+%20 we clear out the address bar 
- Insert accounts.google.com in beginning of the query parameter

POC: https://%DA%A9%D9%88%D8%B1%D8%AF.pwr.wtf/poc.html (It might not work perfect for you because it's adjusted for my window width size, change your window bigger or smaller to see how it looks)

POC Video/Photo attached too

Code Used:
'''js
location='https://xn--ugbd2e0t.pwr.wtf/poc.html?\u{20}\u{E012A}\u{20}accounts.google.com'+'\u{E012A}\u{20}'.repeat(167)+'.' 
'''

Thanks
Renwa

The original report as published on Mozilla's Bugzilla, by Renwa. 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 address bar's handling of bidirectional text and special Unicode characters allowed an attacker to visually reorder and pad the URL so that the real origin was pushed out of view and a spoofed domain appeared.

Impact

An attacker could make the address bar display a trusted domain such as accounts.google.com while the user is actually on a malicious site, potentially leading to credential theft; the report notes the proof of concept may not work perfectly for every window width.

What the attacker needed

Victim visits a crafted URL; specific window width for reliable spoofing

How it was found

  1. Visit a domain or subdomain that contains an RTL character and has a long query parameter.
  2. Firefox hides the origin and shows only the query parameter value.
  3. Use the special character U+E012A together with a space to clear out the address bar.
  4. Insert accounts.google.com at the beginning of the query parameter to spoof the domain.

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.

The address bar is what shows you which website you are on. This report found a way to make Firefox's address bar display a fake website name, like accounts.google.com, even though you are actually on a different site. That could fool you into typing your password on the wrong 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 Renwa Hiwa

View all

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