Insufficient policy enforcement in Extensions (CVE-2026-13948)
A logic error in the Chrome Extensions Tabs API allows an extension to move an Isolated Web App (IWA) tab into a standard browser window, bypassing the intended window isolation. This can lead to a browser process crash when the tab is navigated, and mixes IWA content with untrusted web content.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 48 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: A logic error in the Chrome Extensions Tabs API allows an extension to move an Isolated Web App (IWA) tab into a standard browser window. This bypasses the intended window isolation for IWAs and leads to a browser process crash when the tab is navigated.
Affected files:
chrome/browser/extensions/api/tabs/tabs_api.ccchrome/browser/ui/navigator/browser_navigator.ccchrome/browser/ui/tabs/tab_list_bridge.ccchrome/browser/extensions/extension_tab_util.cc
Estimated timestamp from git blame: 2024-02-12
Summary
Isolated Web Apps (IWAs) are required to run in standalone application windows (TYPE_APP) to maintain a trusted UI context and separate them from regular web content. A potential vulnerability in the chrome.tabs extension API allows an extension to move an IWA tab into a standard (TYPE_NORMAL) browser window. This violates IWA security invariants and results in a browser crash upon navigation due to a security CHECK failure.
Root Cause Analysis
In chrome/browser/extensions/api/tabs/tabs_api.cc, the helper function MoveTabToWindow is used by several APIs, including chrome.tabs.move and chrome.tabs.group. Unlike the validation logic used when creating new windows (WindowsCreateFunction::ValidateTab), MoveTabToWindow fails to check if the tab being moved belongs to an Isolated Web App.
When an extension dispatches a move request for an IWA tab, the WebContents is reparented from its dedicated app window to a standard browser window. This leaves the IWA in a window that lacks an AppBrowserController. Consequently, when the IWA tab is refreshed or navigated, the high-level navigation logic in chrome/browser/ui/navigator/browser_navigator.cc dispatches a CHECK to ensure the hosting window is a valid IWA window:
// chrome/browser/ui/navigator/browser_navigator.cc:715
if (content::SiteIsolationPolicy::ShouldUrlUseApplicationIsolationLevel(
params->initiating_profile, params->url)) {
CHECK(web_app::AppBrowserController::IsIsolatedWebApp(params->browser));
}
Because the tab is now in a TYPE_NORMAL window, IsIsolatedWebApp returns false, triggering the CHECK and crashing the browser process.
Impact
- Security Boundary Violation: The bypass allows IWA content to be mixed with untrusted web content in the same window, which IWAs are specifically designed to avoid to prevent UI spoofing and phishing.
- Denial of Service: An extension can reliably crash the entire browser process by moving and then refreshing an IWA tab.
Potential Reproduction Steps
Note: These steps are based on source code analysis; the ability to execute code was not available during this review.
- Install and launch an Isolated Web App (IWA).
- From a Chrome extension with the
tabspermission, identify thetabIdof the IWA and thewindowIdof a standard browser window. - Call
chrome.tabs.move(iwaTabId, {windowId: normalWindowId, index: -1}). - Observe the IWA tab appearing in the standard window.
- Refresh the IWA tab to trigger a browser process crash.
Suggested Fix
The MoveTabToWindow helper in chrome/browser/extensions/api/tabs/tabs_api.cc should be updated to validate the source tab. If the tab is an Isolated Web App, the move request should be rejected with an error, ensuring IWAs remain within their authorized application containers.
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
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 MoveTabToWindow function in the Tabs API does not check whether the tab being moved belongs to an Isolated Web App, unlike the validation used when creating new windows.
Impact
The bypass allows IWA content to be mixed with untrusted web content in the same window, which could enable UI spoofing and phishing, and an extension can reliably crash the entire browser process by moving and then refreshing an IWA tab.
What the attacker needed
Chrome extension with tabs permission; An installed Isolated Web App
The fix
The MoveTabToWindow helper should be updated to validate the source tab and reject move requests for Isolated Web Apps.
How it was found
- Install and launch an Isolated Web App (IWA).
- From a Chrome extension with the tabs permission, identify the tabId of the IWA and the windowId of a standard browser window.
- Call chrome.tabs.move to move the IWA tab to the standard window.
- Observe the IWA tab appearing in the standard window.
- Refresh the IWA tab to trigger a browser process crash.
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.
Isolated Web Apps are special apps that are supposed to run in their own separate window to keep them safe from other web pages. A bug in the browser's extension system lets an extension move such an app into a normal browser window, breaking that safety. When the app is then refreshed, the browser crashes.
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.