CVE-2016-9901 Cross-site scripting in Firefox
Attackers can inject HTML into Pocket pages to execute JavaScript and access privileged messaging APIs in Firefox.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2016-9901?
CVE-2016-9901 is a critical cross-site scripting vulnerability in Mozilla Firefox, published on 11 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
HTML tags received from the Pocket server will be processed without sanitization and any JavaScript code executed will be run in the "about:pocket-saved" (unprivileged) page, giving it access to Pocket's messaging API through HTML injection. This vulnerability affects Firefox ESR < 45.6 and Firefox < 50.1.
Weakness: CWE-20
Which versions are affected by CVE-2016-9901?
It affects 6 products.
Products include Mozilla Firefox, Redhat Enterprise Linux Aus, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Eus, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation.
How do I fix CVE-2016-9901?
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-2016-9901 being exploited?
There is no known exploitation of CVE-2016-9901 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as DEBIAN-CVE-2016-9901, GHSA-6g72-x2jp-6592, UBUNTU-CVE-2016-9901.