CVE-2016-9903 Cross-site scripting in Firefox

Medium 6.1 Published Updated

An HTML injection vulnerability in Mozilla's add-ons SDK could allow script injection into an add-on's context if loaded as a document.

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-9903?

CVE-2016-9903 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

Mozilla's add-ons SDK had a world-accessible resource with an HTML injection vulnerability. If an additional vulnerability allowed this resource to be loaded as a document it could allow injecting content and script into an add-on's context. This vulnerability affects Firefox < 50.1.

Weakness: CWE-79

Which versions are affected by CVE-2016-9903?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2016-9903?

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-9903 being exploited?

There is no known exploitation of CVE-2016-9903 in the wild and no public exploit code.

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-9fhg-wr6f-g4x9, UBUNTU-CVE-2016-9903.

Is CVE-2016-9903 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free