CVE-2017-5458 Cross-site scripting in Firefox
Attackers can execute JavaScript in the browser context by tricking users into dragging a malicious URL to the address bar.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2017-5458?
CVE-2017-5458 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 11 Jun 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
When a "javascript:" URL is drag and dropped by a user into the addressbar, the URL will be processed and executed. This allows for users to be socially engineered to execute an XSS attack on themselves. This vulnerability affects Firefox < 53.
Weakness: CWE-79
Which versions are affected by CVE-2017-5458?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2017-5458?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2017-5458 being exploited?
There is no known exploitation of CVE-2017-5458 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-c2m7-wq23-rhm8, UBUNTU-CVE-2017-5458.