CVE-2017-5018 Cross-site scripting in Google Chrome prior to 56.0.2924.76 for Linux, Windows and Mac, and 56.0.2924.87 for Android

Medium 6.1 Published Updated

Remote attackers can inject scripts into privileged pages via a crafted HTML page due to insufficient content security policy in Chrome.

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

CVE-2017-5018 is a medium-severity cross-site scripting vulnerability in Google Chrome, published on 17 Feb 2017. 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

Google Chrome prior to 56.0.2924.76 for Linux, Windows and Mac, and 56.0.2924.87 for Android, had an insufficiently strict content security policy on the Chrome app launcher page, which allowed a remote attacker to inject scripts or HTML into a privileged page via a crafted HTML page.

Weakness: CWE-79

Which versions are affected by CVE-2017-5018?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2017-5018?

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

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

All Google Chrome vulnerabilities

Sources

Also known as GHSA-6xg6-mxpp-jx88, UBUNTU-CVE-2017-5018.

Is CVE-2017-5018 in your software?

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

Check your SBOMs for free