XSS on the domain reader in the firefox browser application for IOS
The Firefox for iOS Reader mode feature accepted a URL parameter that allowed a javascript: scheme, leading to cross-site scripting when the reader mode was activated. An attacker could execute arbitrary JavaScript in the context of the local reader domain.
- Fixed in 49 days
- Paid in 54 days
- Disclosed after 49 days
Hi team. As explained in https://hackerone.com/reports/2117521, I will be moving a vulnerability issue in an IOS app, which should be reported on the bugzilla form.
I found XSS in the Reader mode feature on the Firefox for IOS application, maybe this is also affected on Android. I see that the domain of the reader feature is http://localhost:6571, You can see the domain reader when opening https://hackerone.com/irwanjugabro, and the reader detects "connections is not secure" when you use the reader feature.
production steps:
- download the firefox browser for IOS
- then open the domain from the following reader features:
- after that, then click on the reader mode feature, then XSS will be triggered, because the redirect url that has been set to be javascript:alert(1)
Impact
XSS on the domain reader in the firefox browser application for IOS
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
What the attacker needed
Firefox for iOS installed; victim opens a crafted link
How it was found
- Download the Firefox browser for iOS.
- Open the reader mode URL with a javascript: scheme in the url parameter.
- Click on the reader mode feature to trigger the XSS.
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.
Reader mode is a feature that strips away clutter from web pages. The report shows that a special link could make the reader page run harmful code, because it did not check what kind of link it was given. This could let an attacker run their own code in the browser.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.