Skip to main content
CVE Vulnerability Database

CVE-2026-8021: Google Chrome UXSS Vulnerability

CVE-2026-8021 is a universal cross-site scripting flaw in Google Chrome that allows attackers to inject scripts via UI gestures. This post covers the technical details, affected versions, security impact, and patches.

Published:

CVE-2026-8021 Overview

CVE-2026-8021 is a script injection vulnerability in the user interface (UI) layer of Google Chrome versions prior to 148.0.7778.96. A remote attacker can deliver a crafted HTML page that, after specific user gestures, injects arbitrary scripts or HTML into a privileged UI context. This results in a Universal Cross-Site Scripting (UXSS) condition that bypasses the same-origin policy. The flaw is tracked under CWE-94: Improper Control of Generation of Code. Chromium classifies the security severity as Low. Google addressed the issue in the stable channel update documented in the Google Chrome Release Update.

Critical Impact

Successful exploitation lets a remote attacker inject scripts or HTML into Chrome's UI through user interaction, enabling UXSS that can leak data or hijack sessions across origins.

Affected Products

  • Google Chrome desktop versions prior to 148.0.7778.96
  • Chromium-based browsers that share the affected UI rendering code path
  • All operating system builds of Chrome stable channel released before the fix

Discovery Timeline

  • 2026-05-06 - CVE-2026-8021 published to NVD
  • 2026-05-06 - Last updated in NVD database

Technical Details for CVE-2026-8021

Vulnerability Analysis

The vulnerability resides in Chrome's UI surface, where attacker-controlled HTML reaches a context that does not properly separate untrusted content from rendered markup. When a user performs a specific gesture on a crafted page, the browser processes the supplied content as code rather than data. The result is Universal Cross-Site Scripting, allowing scripts to execute outside the source origin's intended boundary. Refer to the Chromium Issue #498417031 tracker entry for upstream details.

Root Cause

The defect maps to [CWE-94] Improper Control of Generation of Code. Chrome's UI rendering path failed to neutralize HTML and script fragments before insertion. The required user gesture indicates the injection sink is reached only after a UI action such as a drag, click, or paste interaction. This missing sanitization step in a privileged surface produced the UXSS condition.

Attack Vector

Exploitation requires the victim to visit a malicious page and complete a specific UI gesture chosen by the attacker. The attack is delivered over the network with no authentication, but high attack complexity reflects the gesture requirement. After the gesture, attacker scripts run with the privileges of the affected UI context, enabling cross-origin data theft, session manipulation, or further exploitation chains. No proof-of-concept code is publicly available, and the issue is not listed in the CISA Known Exploited Vulnerabilities catalog.

No verified exploit code is published. See the upstream Chromium tracker for technical details.

Detection Methods for CVE-2026-8021

Indicators of Compromise

  • Chrome process versions earlier than 148.0.7778.96 observed in endpoint inventory telemetry
  • Browser navigation events to untrusted domains followed by anomalous DOM activity in privileged UI surfaces
  • Outbound connections from chrome.exe to attacker-controlled hosts shortly after user interaction with a suspicious page

Detection Strategies

  • Inventory all installed Chrome and Chromium-derivative builds and flag versions below 148.0.7778.96 for remediation
  • Correlate web proxy logs with endpoint browser version data to identify users on vulnerable builds visiting low-reputation sites
  • Monitor for unexpected script execution or data exfiltration patterns originating from browser child processes

Monitoring Recommendations

  • Enable enterprise browser telemetry to capture extension and renderer events for forensic review
  • Track Chrome auto-update status across managed fleets and alert when devices fall behind the patched version
  • Use threat intelligence feeds to block known UXSS landing pages at the proxy or DNS layer

How to Mitigate CVE-2026-8021

Immediate Actions Required

  • Update Google Chrome to version 148.0.7778.96 or later on all managed endpoints
  • Force-restart browser sessions after update deployment to ensure the patched binary is loaded
  • Audit Chromium-based browsers in the environment and apply vendor updates that incorporate the upstream fix

Patch Information

Google released the fix in the Chrome stable channel update covered by the Google Chrome Release Update. Administrators should deploy 148.0.7778.96 or newer through enterprise update policies. Downstream Chromium-based browsers should be upgraded once their vendors integrate the patch.

Workarounds

  • Restrict browsing to trusted sites using enterprise URL allowlists until patches are deployed
  • Train users to avoid performing drag, paste, or click gestures on untrusted pages
  • Disable or restrict browser features that surface third-party HTML in privileged UI when feasible
bash
# Configuration example: enforce minimum Chrome version via Group Policy on Windows
# Registry path for Chrome update controls
reg add "HKLM\Software\Policies\Google\Update" /v TargetVersionPrefix /t REG_SZ /d "148.0.7778.96" /f
reg add "HKLM\Software\Policies\Google\Update" /v UpdateDefault /t REG_DWORD /d 1 /f

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.