Cross-site scripting via unchecked dragged URL
Published Apr 3, 2024 · Updated Nov 22, 2024
Cross-site scripting in Firefox for iOS before 124 allows attackers to execute script in another site's context via a dragged JavaScript URL. The address-bar drop handler navigates to the dropped URL without checking its scheme, allowing a javascript: URL to run against the page loaded during the drag. Exploitation requires a user to drag a link from the current page or an iframe into the address bar; the resulting script can act with the loaded site's origin.
Summary
What happened
Cross-site scripting in Firefox for iOS before 124 allows attackers to execute script in another site's context via a dragged JavaScript URL. The address-bar drop handler navigates to the dropped URL without checking its scheme, allowing a javascript: URL to run against the page loaded during the drag. Exploitation requires a user to drag a link from the current page or an iframe into the address bar; the resulting script can act with the loaded site's origin.
The record
- CVE
- CVE-2024-31393
- Published
- Apr 3, 2024
- Updated
- Nov 22, 2024
- Vendor
- Mozilla
- Product
- Firefox for iOS
- Classifications
- T1204.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 3, 2024CVE publishedPublication date reported by the CVE source.
- Nov 22, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <124
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Firefox for iOS dragged JavaScript URL reproduction caseproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo