Inappropriate implementation in Input (CVE-2026-13810)
On Linux, Chromium incorrectly treats a window gaining focus as a user gesture, so a page's script can read autofilled password field values without any click or typing. An attacker who can run script on a page (for example through XSS) could therefore silently read and exfiltrate saved passwords on page load.
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Report description
Linux Chromium incorrectly triggers userActivation on focus. This allows XSS to silently harvest saved passwords on page load without clicks, bypassing mandatory user gesture security checks.
Bug location
Where do you want to report your vulnerability?
Chrome VRP – Report security issues affecting the Chrome browser. See program rules
The problem
Please describe the technical details of the vulnerability
A platform-specific security regression in Chromium's Linux implementation allows for Zero-Click Credential Harvesting. On Linux (Wayland/X11), the browser erroneously promotes the frame's UserActivation state to true upon window focus/creation. This bypasses the mandatory "User Gesture" requirement, allowing a malicious script—delivered via XSS—to programmatically read and exfiltrate saved passwords from the autofill manager without any human interaction.
echnical Details
- User Activation v2 (UAv2) Security Model
Modern browsers rely on the User Activation v2 model to gate sensitive APIs. This model tracks two specific states for every frame:
hasBeenActive (Sticky): Indicates if the user has ever interacted with the page.
isActive (Transient): Indicates if there was a very recent interaction (within ~300ms).
Chromium’s password manager is designed to protect autofilled data by preventing JavaScript from accessing the .value property of a password field unless a Transient Activation is present. This is intended to ensure that a user must at least click or type before a script can "scrape" the field. 2. The Failure Point: Ozone Display Layer
On Linux, Chromium uses the Ozone abstraction layer to communicate with display servers (Wayland or X11). The vulnerability lies in how Ozone handles Window Focus Events.
In tiling compositors like Hyprland or desktop environments on Kali Linux, the browser receives a signal (e.g., xdg_toplevel.configure or FocusIn) the moment the window is spawned and focused. The Chromium Linux backend incorrectly maps these compositor-level focus events to a User Activation signal. Because the browser process "trusts" these signals as a proxy for user intent, it prematurely sets the frame’s activation state to Active. 3. Exploitation via Race Condition
When a URL-based XSS payload (like your <img src=x onerror="...">) is executed, it runs almost simultaneously with the window's creation.
Launch: The browser process starts and opens the URL.
Focus: The window manager (Hyprland/X11) focuses the new window.
Bypass: Chromium receives the focus event and incorrectly "flips" the hasBeenActive and isActive bits to true.
Exfiltration: The script inside the onerror attribute checks the value of the autofilled password field. Because the activation state is now true, the browser permits the script to read the password string instead of returning an empty value.
- Comparison to Hardened Platforms
On Windows, Chromium uses low-level Win32 Hooks that listen specifically for hardware interrupts (physical mouse/keyboard events). It distinguishes between a window gaining focus and a user clicking on a window. Since the Linux implementation lacks this hardware-level verification for the activation state, it remains susceptible to "Zero-Click" exfiltration that is effectively impossible on Windows and macOS.
Impact analysis
- Attacker Profile
Any malicious actor capable of finding and exploiting a Reflected or Stored XSS on a target domain, or an actor deploying Malvertising through a compromised ad network, can exploit this vulnerability. The attack requires no specialized access, only the ability to execute JavaScript in the context of the vulnerable origin. 2. Assets Compromised
The primary impact is the unauthorized exfiltration of clear-text credentials (usernames and passwords) saved in the Chromium Password Manager. This can lead to immediate account takeover (ATO) on the affected domain. 3. Exploitation Severity: Zero-Click
The severity of this finding is high because it removes the "User Gesture" requirement—the critical defense-in-depth layer meant to prevent automated harvesting. By transforming a standard XSS into a Zero-Click credential thief, the vulnerability allows for:
Silent Exploitation: Victims are not required to click, scroll, or interact with the page to be compromised. A simple page load or the rendering of a malicious advertisement is sufficient.
Mass Harvesting: Attackers can automate the silent collection of credentials from every Linux-based Chromium user who visits a compromised page.
- Scope and Platform Regression
This issue represents a significant platform-specific security regression. While Chromium on Windows and macOS successfully gates password .value access behind physical user interactions, this logic failure leaves Linux Chromium users (specifically those in Wayland/X11 environments) uniquely vulnerable to silent identity theft that is effectively blocked on other operating systems.
The cause
What version of Chrome have you found the security issue in?
Google Chrome 147.0.7727.101
Is the security issue related to a crash?
No, it is not related to a crash.
Choose the type of vulnerability
Sensitive data exposure
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Linux Ozone display layer maps compositor window-focus events to a user-activation signal, so focus is treated as user intent.
Impact
Saved usernames and passwords could be silently exfiltrated on page load, leading to account takeover, but only on Linux Chromium and only where the attacker can already run script on the page; Windows and macOS are described as not affected.
What the attacker needed
Linux Chromium (Wayland or X11); attacker can run script on the page (e.g. XSS); victim has saved credentials for the site; no user interaction needed
How it was found
- The browser process starts and opens the attacker's URL.
- The window manager focuses the newly created window.
- Chromium receives the focus event and wrongly sets the frame's activation bits to true.
- The script in the page reads the autofilled password field, which is now permitted, and exfiltrates it.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Browsers normally only let a page's script read a saved password field after the person has actually clicked or typed, which is called a user gesture. This report says that on Linux, simply opening and focusing a window is mistaken for that gesture, so a malicious script on the page can read the saved password straight away. The attacker still needs a way to run their script on the site, such as a cross-site scripting flaw.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.