CVE-2026-8021 Cross-site scripting in Chrome

Medium 4.2 Published Updated

Remote attackers can inject arbitrary scripts or HTML into the Chrome UI via crafted pages, requiring user interaction with specific gestures.

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-2026-8021?

CVE-2026-8021 is a medium-severity cross-site scripting vulnerability in Google Chrome, published on 6 May 2026. 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

Script injection in UI in Google Chrome prior to 148.0.7778.96 allowed a remote attacker who convinced a user to engage in specific UI gestures to inject arbitrary scripts or HTML (UXSS) via a crafted HTML page. (Chromium security severity: Low)

Weakness: CWE-94

Which versions are affected by CVE-2026-8021?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2026-8021?

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-2026-8021 being exploited?

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

All Google Chrome vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-8021, ECHO-4e24-5182-3dde, GHSA-7ccf-f2c3-qwpg, MINI-7f55-hf5m-6pv3.

Is CVE-2026-8021 in your software?

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

Check your SBOMs for free