CVE-2016-2817 Cross-site scripting in n/a
Remote attackers can execute arbitrary scripts in privileged contexts via crafted extensions exploiting improper principal inheritance in Firefox tabs API.
- 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-2016-2817?
CVE-2016-2817 is a medium-severity cross-site scripting vulnerability in Mozilla Firefox, published on 30 Apr 2016. 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
The WebExtension sandbox feature in browser/components/extensions/ext-tabs.js in Mozilla Firefox before 46.0 does not properly restrict principal inheritance during chrome.tabs.create and chrome.tabs.update API calls, which allows remote attackers to conduct Universal XSS (UXSS) attacks via a crafted extension that accesses a (1) javascript: or (2) data: URL.
Weakness: CWE-264
Which versions are affected by CVE-2016-2817?
It affects 1 product.
Products include Mozilla Firefox.
How do I fix CVE-2016-2817?
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-2817 being exploited?
There is no known exploitation of CVE-2016-2817 in the wild and no public exploit code.
Other vulnerabilities in Mozilla Firefox
Sources
Also known as GHSA-px89-65ch-24x4, UBUNTU-CVE-2016-2817.