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

Incorrect authorization in Extensions (CVE-2026-113113)

A logic flaw in Chrome's protocol handler registration allows a malicious extension to register a handler pointing to another extension's URL, and the permission prompt shows the victim extension's origin instead of the attacker's. An attacker could then trigger browser-initiated navigations to the victim extension with attacker-controlled parameters, potentially leading to code execution if the victim extension has a DOM XSS vulnerability.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 7 months

Project Fortify, an experimental security project, has identified the following potential security issue.

Overview: A logic flaw allows a malicious extension to register a custom protocol handler pointing to a different extension's URL. The resulting permission prompt uses the target URL's origin, spoofing the request to appear as if it came from the victim extension. An attacker can then trigger browser-initiated navigations to the victim extension with attacker-controlled parameters, bypassing security throttles.

Affected files:

  • content/browser/web_contents/web_contents_impl.cc
  • chrome/browser/ui/browser.cc
  • third_party/blink/common/custom_handlers/protocol_handler_utils.cc
  • components/custom_handlers/register_protocol_handler_permission_request.cc
  • extensions/browser/extension_navigation_throttle.cc

Estimated timestamp from git blame: 2025-05-05

Note: This report was generated by our setup. The steps below are potential and have been determined through static code analysis; a working proof-of-concept has not been executed.

Vulnerability Details

There is a logic flaw in how Chrome handles navigator.registerProtocolHandler when called by privileged extensions, leading to a same-origin policy bypass, UI spoofing, and a cross-extension navigation primitive.

1. Same-Origin Bypass in WebContentsImpl When a privileged extension registers a protocol handler, its security level is evaluated as blink::ProtocolHandlerSecurityLevel::kExtensionFeatures (integer value 3). In WebContentsImpl::AreValidRegisterProtocolHandlerArguments, the same-origin check is written as:

C++
if (security_level < blink::ProtocolHandlerSecurityLevel::kUntrustedOrigins &&
    !origin.IsSameOriginWith(url)) {
  return false;
}

Because kExtensionFeatures (3) is not less than kUntrustedOrigins (2), the first half of the condition evaluates to false. The && short-circuits, and the !origin.IsSameOriginWith(url) check is entirely skipped. This allows any extension to register a handler URL for any other extension.

2. UI Spoofing in Permission Prompt When the browser prompts the user to approve the handler, it instantiates a RegisterProtocolHandlerPermissionRequest. The constructor passes the target handler's URL (url.DeprecatedGetOriginAsURL()) to the base PermissionRequest class instead of the requesting extension's origin. Consequently, the user sees a permission prompt asking to grant the victim extension the ability to handle the protocol, hiding the attacker's involvement completely.

3. Navigation Throttle Bypass Once registered, the attacker can trigger the protocol handler programmatically using a browser-initiated API like chrome.windows.create({url: "mailto:payload"}). Because the navigation is browser-initiated and lacks an explicit initiator origin, it bypasses the ChildProcessSecurityPolicyImpl::CanRequestURL check (which skips browser-initiated navigations) and the ExtensionNavigationThrottle (which allows navigations with no initiator origin).

Potential Attack Steps

  1. A malicious extension (Attacker) calls navigator.registerProtocolHandler("mailto", "chrome-extension://[VICTIM_ID]/options.html?q=%s", "Mail Handler");.
  2. The user sees a spoofed prompt: "Allow [Victim Extension] to open all email links?" and clicks "Allow".
  3. The Attacker extension executes chrome.windows.create({url: "mailto:malicious_payload"});.
  4. The browser intercepts the mailto: URL and navigates the new window to chrome-extension://[VICTIM_ID]/options.html?q=mailto%3Amalicious_payload.
  5. The Attacker successfully forces a cross-extension navigation with an attacker-controlled query string. If the victim extension has a DOM XSS vulnerability or unsafely processes URL parameters, the attacker achieves code execution in the victim's privileged context.

Suggested Fix

  1. Fix the Same-Origin Check: In WebContentsImpl::AreValidRegisterProtocolHandlerArguments, revise the logic so that the same-origin check applies correctly to kExtensionFeatures. If extensions are meant to register chrome-extension:// URLs, explicitly enforce that the extension ID of the requesting origin matches the extension ID of the handler URL.
  2. Fix the UI Spoofing: In Browser::RegisterProtocolHandler, pass the requesting_frame's actual origin down to RegisterProtocolHandlerPermissionRequest, and use that true initiator origin for the UI prompt rather than the target URL's origin.

Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8


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. Please feel free to reach out to me if you have concerns or feedback.

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

Likely a logic error in the same-origin check for protocol handler registration: the condition short-circuits when the security level is high, skipping the origin comparison, and the permission prompt uses the target URL's origin instead of the requesting extension's origin.

Impact

An attacker could force a cross-extension navigation with attacker-controlled parameters, potentially achieving code execution in the victim extension's privileged context if it has a DOM XSS vulnerability or unsafely processes URL parameters.

What the attacker needed

Victim has a vulnerable extension installed; attacker can install a malicious extension; user clicks Allow on a spoofed prompt

The fix

The same-origin check should be corrected to enforce that the requesting extension's ID matches the handler URL's extension ID, and the permission prompt should use the requesting frame's actual origin instead of the target URL's origin.

How it was found

  1. A malicious extension calls navigator.registerProtocolHandler with a handler URL pointing to a victim extension.
  2. The user sees a spoofed permission prompt showing the victim extension's name and clicks Allow.
  3. The attacker extension uses chrome.windows.create to open a mailto: URL with a malicious payload.
  4. The browser navigates to the victim extension's URL with the attacker-controlled query string.

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.

Chrome extensions can register to handle special links like 'mailto:'. A bug lets a bad extension pretend to be a different, trusted extension when asking for this permission. The user sees a prompt naming the trusted extension, not the bad one. If the trusted extension has a weakness in how it handles web addresses, the bad extension can use this to run harmful code inside it.

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.