Skip to content
Access control Advisory Advanced CVE-2026-11308

Inappropriate implementation in Extensions (CVE-2026-11308)

The extension event for toolbar pin state changes is dispatched with an unconditional synthetic user gesture, even when triggered by non-interactive means such as an enterprise policy update. A malicious extension could abuse this to invoke restricted APIs that normally require a user gesture, such as requesting permissions.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 40 days

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: The action.onUserSettingsChanged extension event is dispatched with an unconditional synthetic user gesture. This event can be triggered non-interactively, such as when an enterprise policy modifies an extension's pinned state. Malicious extensions can potentially abuse this synthetic gesture to bypass user interaction requirements for restricted APIs like chrome.permissions.request().

Affected files:

  • chrome/browser/extensions/extension_action_dispatcher.cc
  • chrome/browser/ui/toolbar/toolbar_actions_model.cc

Estimated timestamp from git blame: 2026-01-25

Summary

When an extension's pinned state on the toolbar changes, the browser dispatches the chrome.action.onUserSettingsChanged event to the extension. However, the internal method responsible for constructing this event unconditionally flags it as possessing a user gesture. Because this event can be triggered by non-interactive means (such as an enterprise administrator updating the ExtensionSettings policy to set toolbar_pin to "default_pinned"), a malicious extension can receive a synthetic user gesture without any actual user interaction.

This synthetic gesture propagates to the extension's renderer process (including Manifest V3 Service Workers), potentially allowing the extension to invoke restricted APIs that normally require a user gesture, such as chrome.permissions.request() or chrome.sidePanel.open().

Root Cause

In chrome/browser/extensions/extension_action_dispatcher.cc, the OnActionPinnedStateChanged method is called when an extension's pinned state changes (e.g., via ToolbarActionsModel::OnExtensionManagementSettingsChanged during a policy update).

OnActionPinnedStateChanged calls a helper method, DispatchEventToExtension, to construct and send the event. The vulnerability exists because DispatchEventToExtension unconditionally sets event->user_gesture = EventRouter::UserGestureState::kEnabled; at line 152:

C++
void ExtensionActionDispatcher::DispatchEventToExtension(
    content::BrowserContext* context,
    const ExtensionId& extension_id,
    events::HistogramValue histogram_value,
    const std::string& event_name,
    base::ListValue event_args) {
  if (!EventRouter::Get(context)) {
    return;
  }

  auto event = std::make_unique<Event>(histogram_value, event_name,
                                       std::move(event_args), context);
  event->user_gesture = EventRouter::UserGestureState::kEnabled;  // Unconditional user gesture
  EventRouter::Get(context)->DispatchEventToExtension(extension_id,
                                                      std::move(event));
}

While this helper is also used for action.onClicked (which does involve a user gesture), reusing it for onUserSettingsChanged incorrectly grants a gesture to automated state changes.

Potential Reproduction Steps

Note: These are theoretical steps based on code analysis.

  1. An attacker creates a Manifest V3 extension that listens to chrome.action.onUserSettingsChanged.
  2. Inside the listener callback, the extension calls chrome.permissions.request({permissions: ['activeTab']}).
  3. The extension is installed on a managed device.
  4. The enterprise administrator pushes an update to the ExtensionSettings policy, setting toolbar_pin to "default_pinned" for the installed extension.
  5. ToolbarActionsModel::OnExtensionManagementSettingsChanged processes the policy and triggers the event dispatch.
  6. The extension receives the event with the synthetic user gesture, and the permissions request prompt appears unexpectedly without any user interaction.

Suggested Fix

Modify ExtensionActionDispatcher::DispatchEventToExtension to accept an additional boolean or enum parameter indicating whether a user gesture is present.

  • When called from DispatchExtensionActionClicked, pass true (or kEnabled).
  • When called from OnActionPinnedStateChanged, evaluate the context. If the change was initiated by an automated policy update, pass false (or kNotEnabled). Alternatively, as pinning/unpinning from the menu might not warrant bypassing gesture checks for restricted APIs anyway, consider always passing false for onUserSettingsChanged.

Evaluated with Chrome root at commit: 3acbde3302da0cb19488c22c0eb007c791207b4b


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.

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

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 helper that dispatches extension events unconditionally marks every event as having a user gesture, and it is reused for an event that can be triggered by automated policy changes.

Impact

A malicious extension could potentially bypass user interaction requirements for restricted APIs, causing permission prompts to appear without any user action.

What the attacker needed

Malicious extension installed; managed device with enterprise policy; administrator changes toolbar pin policy

The fix

The helper should be changed to accept whether a user gesture is present, passing false for automated pin state changes.

How it was found

  1. Create a Manifest V3 extension that listens for the toolbar pin state change event.
  2. In the listener, call the permissions request API for a restricted permission.
  3. Install the extension on a managed device.
  4. Have an administrator push a policy that changes the extension's toolbar pin state.
  5. The policy update triggers the event dispatch.
  6. The extension receives the event with a synthetic user gesture and the permission prompt appears without user interaction.

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.

Some browser features are only allowed after a real user action, like a click, to stop malicious extensions from silently asking for more access. Here, a browser event that can happen automatically (when an administrator changes a setting) was incorrectly marked as if the user had clicked, so an extension could ask for extra permissions without the user doing anything.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.