CVE-2017-5466 Cross-site scripting in Firefox
Attackers can execute arbitrary scripts in the context of a victim's browser via a crafted redirect, affecting Firefox and Thunderbird users.
- 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-5466?
CVE-2017-5466 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
If a page is loaded from an original site through a hyperlink and contains a redirect to a "data:text/html" URL, triggering a reload will run the reloaded "data:text/html" page with its origin set incorrectly. This allows for a cross-site scripting (XSS) attack. This vulnerability affects Thunderbird < 52.1, Firefox ESR < 52.1, and Firefox < 53.
Weakness: CWE-79
Which versions are affected by CVE-2017-5466?
It affects 8 products.
Products include Mozilla Firefox, Mozilla Thunderbird, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus and 2 more.
How do I fix CVE-2017-5466?
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-5466 being exploited?
There is no known exploitation of CVE-2017-5466 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-hx2v-35mh-6pxc, UBUNTU-CVE-2017-5466.