CVE-2017-5393 Cross-site scripting in Firefox

Medium 6.1 Published Updated

Cross-site scripting in Firefox allows malicious extensions to install additional extensions via the AMO CDN, potentially leading to code execution.

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

CVE-2017-5393 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

The "mozAddonManager" allows for the installation of extensions from the CDN for addons.mozilla.org, a publicly accessible site. This could allow malicious extensions to install additional extensions from the CDN in combination with an XSS attack on Mozilla AMO sites. This vulnerability affects Firefox < 51.

Weakness: CWE-79

Which versions are affected by CVE-2017-5393?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2017-5393?

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

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-q77m-7m77-g2rw, UBUNTU-CVE-2017-5393.

Is CVE-2017-5393 in your software?

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

Check your SBOMs for free