CVE-2017-5007 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 arbitrary scripts or HTML into Google Chrome via crafted pages due to improper event handling during page closure.

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

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

Blink in Google Chrome prior to 56.0.2924.76 for Linux, Windows and Mac, and 56.0.2924.87 for Android, incorrectly handled the sequence of events when closing a page, which allowed a remote attacker to inject arbitrary scripts or HTML (UXSS) via a crafted HTML page.

Weakness: CWE-79

Which versions are affected by CVE-2017-5007?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2017-5007?

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

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

Public exploit code: 1 proofs of concept on GitHub.

All Google Chrome vulnerabilities

Sources

Also known as GHSA-vh3v-f2qr-m6gq, UBUNTU-CVE-2017-5007.

Is CVE-2017-5007 in your software?

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

Check your SBOMs for free