CVE-2018-6145 Cross-site scripting in Chrome

Medium 6.1 Published Updated

Remote attackers can bypass same-origin policy via crafted HTML pages due to insufficient validation in the Chrome HTML parser.

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-2018-6145?

CVE-2018-6145 is a medium-severity cross-site scripting vulnerability in Google Chrome, published on 27 Jun 2019. 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

Insufficient data validation in HTML parser in Google Chrome prior to 67.0.3396.62 allowed a remote attacker to bypass same origin policy via a crafted HTML page.

Weakness: CWE-79

Which versions are affected by CVE-2018-6145?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2018-6145?

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-2018-6145 being exploited?

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

All Google Chrome vulnerabilities

Sources

Also known as GHSA-3fwh-gvcw-q838, UBUNTU-CVE-2018-6145.

Is CVE-2018-6145 in your software?

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

Check your SBOMs for free