CVE-2018-5135 Security feature bypass in Firefox

High 7.5 Published Updated

WebExtensions can bypass restrictions to inject scripts into privileged contexts, allowing unauthorized code execution 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-2018-5135?

CVE-2018-5135 is a high-severity 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

WebExtensions can bypass normal restrictions in some circumstances and use "browser.tabs.executeScript" to inject scripts into contexts where this should not be allowed, such as pages from other WebExtensions or unprivileged "about:" pages. This vulnerability affects Firefox < 59.

Weakness: CWE-862

Which versions are affected by CVE-2018-5135?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2018-5135?

Upgrade to a fixed version.

Is CVE-2018-5135 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-q9w5-hr49-h5h8, UBUNTU-CVE-2018-5135.

Is CVE-2018-5135 in your software?

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

Check your SBOMs for free