CVE-2016-5181 Cross-site scripting in Chrome prior to 54.0.2840.59 for Windows, Mac, and Linux; 54.0.2840.85 for Android

Medium 6.1 Published Updated

Remote attackers can inject arbitrary scripts or HTML via crafted pages due to inconsistent DOM state during microtask execution 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-2016-5181?

CVE-2016-5181 is a medium-severity cross-site scripting vulnerability in Google Chrome, published on 18 Dec 2016. 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 54.0.2840.59 for Windows, Mac, and Linux; 54.0.2840.85 for Android permitted execution of v8 microtasks while the DOM was in an inconsistent state, which allowed a remote attacker to inject arbitrary scripts or HTML (UXSS) via crafted HTML pages.

Weakness: CWE-79

Which versions are affected by CVE-2016-5181?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2016-5181?

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-2016-5181 being exploited?

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

All Google Chrome vulnerabilities

Sources

Also known as GHSA-j5hj-pjvg-f88f, UBUNTU-CVE-2016-5181.

Is CVE-2016-5181 in your software?

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

Check your SBOMs for free