Skip to content
XSS Disclosed report Advanced

Mozilla Firefox Focus for Android - UXSS

James Lee Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 10 days
  • Paid in 10 days
  • Disclosed after 10 days
Text
The problem is window.open() runs on top page as a parent site from the inside of nested x-origin iframe(s). Surprisingly, running javascript: uri with window.open() was enough to access to the top parent site.

An alert msgbox will show top document (parent site) URL when you open the PoC. This all work without any user interaction, no matter how many other x-origin iframes are nested. (No limitations from determined attacker for widespread attacks and further)


Top page PoC: <iframe width=1000 height=800 src="https://x-origin-ifrsite.com/test.html"></iframe>


(https://x-origin-ifrsite.com/test.html) x-origin iframe PoC: <script>window.open('javascript:alert(parent.document.domain)');</script>

The original report as published on Mozilla's Bugzilla, by James Lee. 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.

What is known

A critical-severity XSS bug in General. Mozilla made it public on 13 July 2021.

About XSS

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by James Lee

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.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.