Drag and drop UXSS (CVE-2024-31393) can be reproduced on Focus iOS
A universal cross-site scripting flaw in Firefox iOS, tracked as CVE-2024-31393, could also be triggered in Focus iOS. Dragging a hyperlink from a page into the address bar caused script to run in the context of another site.
Originally disclosed on Mozilla
- Fixed in 12 months
- Paid in 12 months
- Disclosed after 12 months
Created attachment 9419800
drag_and_drop_uxss_on_focus.mov
Bug 1879739 (CVE-2024-31393), previously detected in Firefox iOS, can be reproduced on Focus iOS.
Open the following URL and drag a hyperlink "Drag Me" to the address bar, then reproduce UXSS.
https://csrf.jp/2024/fxios-jsurl2.php
The reproduction movie is attached to this bug ticket.
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 browser mishandled a javascript: style link dropped into the address bar, letting it run in the wrong origin.
Impact
An attacker could run script in the context of other sites visited in the browser, potentially reading or altering their content.
What the attacker needed
Focus iOS browser; victim drags a crafted link to the address bar
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.
Universal cross-site scripting (UXSS) is a bug where a browser itself runs an attacker's script as if it belonged to any website, so the usual protections between sites break down. Here the trigger was a drag-and-drop action: pulling a link from a page into the address bar made the browser execute code it should not have.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.