CVE-2017-7788 Security feature bypass in Firefox

Critical 9.8 Published Updated

Attackers can bypass Content Security Policy restrictions in sandboxed iframes using srcdoc, potentially allowing unauthorized script execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-7788?

CVE-2017-7788 is a critical 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

When an "iframe" has a "sandbox" attribute and its content is specified using "srcdoc", that content does not inherit the containing page's Content Security Policy (CSP) as it should unless the sandbox attribute included "allow-same-origin". This vulnerability affects Firefox < 55.

Weakness: CWE-74

Which versions are affected by CVE-2017-7788?

It affects 1 product.

Products include Mozilla Firefox.

How do I fix CVE-2017-7788?

Upgrade to a fixed version.

Is CVE-2017-7788 being exploited?

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

All Mozilla Firefox vulnerabilities

Sources

Also known as GHSA-rcj2-hjg7-xj8p, UBUNTU-CVE-2017-7788.

Is CVE-2017-7788 in your software?

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

Check your SBOMs for free