Skip to content
Info disclosure Advisory Advanced CVE-2025-0446

Inappropriate implementation in Extensions (CVE-2025-0446)

An extension could intercept keyboard shortcuts such as Ctrl+A while a PWA install prompt was shown, because the prompt did not properly isolate keyboard input from extensions. An attacker could use this to capture keystrokes intended for the page.

Hafiizh Follow

Originally disclosed on Chrome VRP

Bounty$1,000 Low View original
  • Fix shipped in 5 months

VULNERABILITY DETAILS This vulnerability is almost the same as https://issues.chromium.org/issues/40058873 but it occurs on PWA prompt

VERSION Chrome Version: 129.0.6657.0 (Official Build) canary (64-bit) Operating System: Windows 10

REPRODUCTION CASE

  1. Install attached extension: manifest-keyboard.json + bg-keyboard.js + popup.html. Rename the manifest file to manifest.json

  2. Reload manifest-keyboard.json extension using chrome://extensions

Press Ctrl+A when requested by the attacker page.

  1. Click the Web page then Press Ctrl+A when requested by the attacker page.

CREDIT INFORMATION Externally reported security bugs may appear in Chrome release notes. If this bug is included, how would you like to be credited? Reporter credit: [goes here]

The original report as published on the Chromium issue tracker, by Hafiizh. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

This is a low-severity advisory for Google Chrome, filed through the Chrome VRP and credited to Hafiizh. The affected component is Extensions, the weakness is classed as inappropriate implementation, and the bug was assigned CVE-2025-0446. The platform records a bounty of 1,000 USD and a disclosure date of 14 January 2025. The report itself is short and does not describe a fix.

The researcher states that the vulnerability is almost the same as an earlier issue, https://issues.chromium.org/issues/40058873, but that it occurs on the PWA prompt. In other words, the same underlying behaviour seen in the earlier bug reappears in a different piece of Chrome UI, the install prompt for a Progressive Web App.

The environment is given as:

Text
Chrome Version:  129.0.6657.0 (Official Build) canary (64-bit)
Operating System: Windows 10

The reproduction uses a small extension made of three files, manifest-keyboard.json, bg-keyboard.js and popup.html, which are attached to the report. The steps are:

  1. Install the attached extension, renaming the manifest file to manifest.json.
  2. Reload the extension from chrome://extensions, then press Ctrl+A when the attacker page requests it.
  3. Click the web page, then press Ctrl+A when the attacker page requests it.

The report does not spell out what the extension does, what the attacker page contains, or what the observed result is. What it does make clear is the shape of the interaction: an extension is installed, an attacker-controlled page is open, and the user is asked to press Ctrl+A, the select-all shortcut. The two variants in steps 2 and 3 differ in whether the shortcut is pressed straight after reloading the extension or after first clicking the page. The mention of the PWA prompt places the faulty behaviour in the install prompt UI rather than in an ordinary page.

Root cause

The report points to an inappropriate implementation in Extensions, and by comparing it to an earlier issue it implies that the same mistake exists in more than one place. The report does not state a root cause; it only notes the bug resembles an earlier issue. The report does not name the specific function or check that is missing.

Impact

The severity is low, which is consistent with a bug that requires an installed extension and a user pressing a key at the request of a page. Anything stronger than that is not supported by the text.

How this kind of bug works

Browsers route keyboard input to whichever surface holds focus: a page, an extension popup, a permission bubble, an install prompt. Each surface has its own rules about which shortcuts it may consume and which must be passed through. Bugs appear when a new surface is added, or an existing one is changed, and the focus or routing logic is not updated to match. The result is a shortcut that fires in the wrong context, or input that leaks from a trusted prompt into a less trusted handler.

Extensions make this harder because they can register commands and inject content scripts that listen for key events. If the browser does not clearly separate the prompt's input handling from the extension's, a page can ask the user to press a key and have that key reach code the page influences. Defences are straightforward in principle: explicit focus ownership per surface, a check that the active surface is the one the handler expects, and refusing to dispatch extension commands while a browser-owned prompt is modal.

How to test for it

  1. Identify every browser-owned surface that can appear over a page: install prompts, permission dialogs, autofill dropdowns, download bubbles, extension popups.
  2. For each, install a minimal extension that registers a command or listens for a key event, and record which keys it receives while the surface is open.
  3. Ask the page to prompt the user for a shortcut, as this report does with Ctrl+A, and compare behaviour with and without the surface present.
  4. Try the same shortcut immediately after reloading the extension and after clicking the page, since state changes can alter routing.

Common false positives are shortcuts that are documented to pass through, input that only works because the user granted a permission, and behaviour that reproduces without any extension installed.

How it is fixed

Hunting notes

This class of bug hides where new UI is bolted onto old input handling: install and permission prompts, modal bubbles, and anything that overlays a page. Recon signals include recent changes to prompt code, duplicated shortcut handling across surfaces, and earlier reports about the same shortcut in a different context. To make a report land, show the exact steps, the extension files used, the Chrome version and OS, and a clear before-and-after comparison so the reviewer can see the routing difference without guessing.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 6 min read.

What happened, in plain words

This is a short public advisory about a bug in Google Chrome, credited to Hafiizh and filed through the Chrome VRP, the programme Google runs to reward people who report security problems in its browser. The bug was given the identifier CVE-2025-0446, is rated low severity, and the platform records a bounty of 1,000 USD and a disclosure date of 14 January 2025. The affected part of Chrome is Extensions, and the weakness is classed as inappropriate implementation, which is a broad label for code that does not behave the way it should.

The researcher says the problem is almost the same as an earlier issue, https://issues.chromium.org/issues/40058873, but that it occurs on the PWA prompt. A PWA, or Progressive Web App, is a website that can be installed so it opens like a normal application; the prompt is the small box Chrome shows asking whether you want to install it. So the same faulty behaviour seen before has turned up in a different piece of Chrome's interface.

The environment is given as:

Text
Chrome Version:  129.0.6657.0 (Official Build) canary (64-bit)
Operating System: Windows 10

Canary is Chrome's experimental build, where changes appear before they reach ordinary users.

The reproduction uses a small extension made of three attached files, manifest-keyboard.json, bg-keyboard.js and popup.html. An extension is a small add-on that adds features to the browser; the manifest is its description file, and the other two files are its background script and its popup window. The steps are:

  1. Install the attached extension, renaming the manifest file to manifest.json.
  2. Reload the extension from chrome://extensions, then press Ctrl+A when the attacker page requests it.
  3. Click the web page, then press Ctrl+A when the attacker page requests it.

chrome://extensions is Chrome's built-in page for managing add-ons. Ctrl+A is the select-all shortcut. An attacker page is simply a web page controlled by someone trying to trigger the bug.

The report does not explain what the extension does, what the attacker page contains, or what the user actually sees go wrong. What it does show is the shape of the interaction: an extension is installed, a page controlled by an attacker is open, and the user is asked to press Ctrl+A. The two variants differ only in whether the shortcut is pressed straight after reloading the extension or after first clicking the page. The mention of the PWA prompt places the faulty behaviour in the install prompt rather than in an ordinary page.

In general, how this kind of bug works

A browser has to decide which part of itself receives a key press. That part is said to have focus, in the same way that only one window on your desktop is active at a time. Focus can sit on a web page, on an extension popup, on a permission bubble, or on an install prompt. Each of these surfaces has its own rules about which shortcuts it may use and which must be passed on.

Bugs appear when a new surface is added, or an existing one is changed, and the focus or routing logic is not updated to match. The result is a shortcut that fires in the wrong context, or input that leaks from a trusted prompt into a handler it should never reach. Extensions make this harder, because they can register their own keyboard commands and listen for key events. If the browser does not clearly separate the prompt's input handling from the extension's, a page can ask the user to press a key and have that key reach code the page influences.

The report does not state a root cause; it only notes the bug resembles an earlier issue.

The report also does not describe a concrete attack outcome. The low severity fits a bug that needs an installed extension and a user pressing a key at a page's request. Anything stronger than that is not supported by the text.

Defences are straightforward in principle: each surface should explicitly own focus, a handler should check that the active surface is the one it expects, and extension commands should not be dispatched while a browser-owned prompt is modal, meaning it blocks interaction with everything behind it.

How to test for it

  1. Identify every browser-owned surface that can appear over a page: install prompts, permission dialogs, autofill dropdowns, download bubbles, extension popups.
  2. For each, install a minimal extension that registers a command or listens for a key event, and record which keys it receives while the surface is open.
  3. Ask the page to prompt the user for a shortcut, as this report does with Ctrl+A, and compare behaviour with and without the surface present.
  4. Try the same shortcut immediately after reloading the extension and after clicking the page, since state changes can alter routing.

Common false positives are shortcuts that are documented to pass through, input that only works because the user granted a permission, and behaviour that reproduces without any extension installed.

How it is fixed

Hunting notes

This class of bug hides where new interface is bolted onto old input handling: install and permission prompts, modal bubbles, and anything that overlays a page. Useful signals include recent changes to prompt code, duplicated shortcut handling across surfaces, and earlier reports about the same shortcut in a different context. To make a report land, show the exact steps, the extension files used, the Chrome version and operating system, and a clear before-and-after comparison so the reviewer can see the routing difference without guessing.

Glossary

  • Chrome VRP: Google's Vulnerability Reward Program, which pays people for reporting security bugs in Chrome.
  • CVE: a public identifier given to a known security vulnerability so people can refer to it unambiguously.
  • Advisory: a short public notice describing a vulnerability and its status.
  • Severity: a rating of how serious a bug is, here low.
  • Bounty: the money paid to a reporter for a valid bug.
  • Extension: a small add-on that adds features to the browser.
  • Manifest: the file that describes an extension, its name, files and permissions.
  • Background script: code an extension runs behind the scenes rather than in a visible window.
  • Popup: the small window an extension shows when you click its toolbar icon.
  • PWA (Progressive Web App): a website that can be installed to open like a normal application.
  • PWA prompt: the box Chrome shows asking whether you want to install a PWA.
  • Canary: Chrome's experimental build, where changes appear before they reach ordinary users.
  • Focus: the part of the browser that currently receives keyboard input.
  • Surface: any distinct piece of browser interface, such as a page, popup, bubble or prompt.
  • Modal: a prompt that blocks interaction with everything behind it until it is dismissed.
  • Shortcut: a key combination that triggers an action, such as Ctrl+A for select all.
  • Inappropriate implementation: a label for code that does not behave as it should, without a more specific category.
  • False positive: a test result that looks like a bug but is actually expected behaviour.
  • Regression test: an automated test that checks a fixed bug stays fixed.

More by Hafiizh

View all

78 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.