Incorrect security UI in Extensions (CVE-2026-17755)
An extension can repeatedly call an API to show and hide a toolbar button that grants site access, causing rapid layout shifts. A user aiming for another toolbar control may click the button by accident and grant the extension persistent access to the current site without confirmation.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 4 months
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team.
Overview: Extensions can programmatically toggle the ExtensionsRequestAccessButton without a user gesture or rate limit, causing rapid layout shifts in the toolbar. Because this button lacks input event activation protection, an attacker can induce a misclick, which instantly grants persistent host access to the current site without further confirmation.
Affected files:
chrome/browser/ui/views/extensions/extensions_request_access_button.ccchrome/browser/extensions/api/permissions/permissions_api.ccchrome/browser/ui/views/extensions/extensions_toolbar_desktop.ccextensions/browser/permissions/site_permissions_helper.cc
Estimated timestamp from git blame: 2026-01-16
Background
When the kExtensionsMenuAccessControl feature is enabled, extensions can use the chrome.permissions.addHostAccessRequest() API to ask for site access. This displays the ExtensionsRequestAccessButton (a toolbar chip saying e.g., "Allow 1") in the browser toolbar.
Potential Vulnerability
A potential UI redressing/clickjacking vulnerability exists because an extension can abuse this API to trick the user into granting persistent host permissions. This relies on a combination of missing protections:
- No User Gesture or Quota Restrictions: In
chrome/browser/extensions/api/permissions/permissions_api.cc,PermissionsAddHostAccessRequestFunction::Runand its 'remove' counterpart do not verifyuser_gesture(), nor do they implement quota limits. They can be called programmatically in a tight loop. - Toolbar Layout Shifts: When the button appears, it is placed to the left of the main Extensions menu button ("puzzle piece"), causing the puzzle piece and other trailing icons to shift horizontally.
- Lack of Input Protection:
ExtensionsRequestAccessButtondoes not implementviews::InputEventActivationProtector(which typically discards clicks for ~500ms after a UI element appears). It accepts clicks the exact millisecond it becomes visible. - Immediate Escalation: Clicking the button instantly invokes
SitePermissionsHelper::UpdateSiteAccesswithUserSiteAccess::kOnSite, granting the extension permanent access to the origin without any secondary confirmation dialog.
Potential Steps to Reproduce
Because our tooling agent cannot execute code, the following are suggested steps an attacker would follow to trigger the vulnerability:
- An attacker publishes an extension that requests host permissions (e.g.,
<all_urls>). - The victim installs the extension but restricts its site access to "On click" (withheld).
- The victim navigates to a sensitive site.
- The malicious extension's service worker runs a tight loop calling
chrome.permissions.addHostAccessRequest()andchrome.permissions.removeHostAccessRequest()for the active tab. - The
ExtensionsRequestAccessButtonrapidly flashes in and out of the toolbar, causing continuous horizontal layout shifts. - The victim attempts to click the toolbar (e.g., aiming for the puzzle piece button).
- Due to the layout shift, the
ExtensionsRequestAccessButtonslides underneath the user's cursor just as they click. - The click is processed immediately, granting the malicious extension persistent
kOnSiteaccess to the sensitive tab, bypassing the user's explicit restriction.
Suggested Fix
- Input Protection: Implement
views::InputEventActivationProtectorinExtensionsRequestAccessButton(or its baseToolbarChipButton) to ignore clicks for a short duration after it becomes visible, matching the behavior of standard security dialogs. - API Restrictions: Require a user gesture to call
addHostAccessRequest(), or enforce a strict quota limit viaQuotaServiceto prevent extensions from rapidly toggling the UI state to induce layout shifts.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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
The API that toggles the request-access button lacks a user-gesture check and rate limit, and the button itself does not ignore clicks for a short period after appearing.
Impact
A malicious extension could gain persistent access to a sensitive site without the user's explicit consent, bypassing the user's restriction.
What the attacker needed
Victim installs a malicious extension; extension has host permissions; victim restricts extension site access; victim visits a sensitive site
The fix
The button should ignore clicks for a short time after appearing, and the API should require a user gesture or enforce a quota limit.
How it was found
- An attacker publishes an extension that requests host permissions.
- The victim installs the extension but restricts its site access to 'On click'.
- The victim navigates to a sensitive site.
- The extension's service worker repeatedly calls the API to add and remove a host access request for the active tab.
- The request-access button rapidly appears and disappears in the toolbar, causing layout shifts.
- The victim tries to click a toolbar button and accidentally clicks the request-access button, granting persistent access.
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.
A browser extension can ask for permission to access the website you are viewing. Normally you must click a button to allow this. Here, the extension can make that button appear and disappear very quickly, so you might click it by mistake while trying to click something else, and the extension gets permanent access.
What is UI spoofing?
The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.