Insufficient policy enforcement in Extensions (CVE-2026-17821)
The chrome.tabs.create and chrome.tabs.update extension APIs were claimed to lack the guard that forces Isolated Web Apps to launch at their start_url, so a low-privilege extension could navigate an installed IWA straight to internal deep-link routes. That could let an extension trigger sensitive state-changing actions in the app, a CSRF-style attack.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A potential vulnerability in the Google Chrome extension APIs chrome.tabs.create and chrome.tabs.update allows low-privilege extensions to bypass the security guard designed to force Isolated Web Apps (IWAs) to launch at their start_url. By specifying the IWA's window ID or updating an existing IWA tab, a malicious extension can navigate the IWA directly to sensitive, internal deep-link URLs. This can facilitate CSRF-style attacks against installed IWAs.
Affected files:
chrome/browser/extensions/api/tabs/tabs_api.ccchrome/browser/extensions/open_tab_helper.ccchrome/browser/web_applications/isolated_web_apps/isolated_web_app_throttle.ccchrome/browser/ui/web_applications/navigation_capturing_process.ccchrome/browser/extensions/extension_tab_util.cc
Estimated timestamp from git blame: 2025-06-13
Summary
Isolated Web Apps (IWAs) implement a deep-linking defense mechanism where any launch of the application is forced to its start_url in WindowsCreateFunction (chrome/browser/extensions/api/tabs/tabs_api.cc). The original, deep-link URL is routed securely via window.launchQueue so the IWA can validate the requested path and prevent cross-site request forgery (CSRF) or unauthorized state transitions.
However, the chrome.tabs.create and chrome.tabs.update extension APIs potentially lack equivalent enforcement. This allows a low-privilege extension (with zero special permission requirements) to bypass this deep-link defense and navigate an installed IWA directly to an arbitrary internal URL.
Root Cause Analysis
1. Potential tabs.create Bypass Vector
In WindowsCreateFunction (tabs_api.cc), there is an explicit routing block for IWAs:
if (isolated_web_app_url_info_) {
CHECK_EQ(urls_.size(), 1U);
const GURL& original_url = urls_[0];
...
if (registrar.AppMatches(iwa_id, web_app::WebAppFilter::IsIsolatedApp())) {
NavigateParams navigate_params = create_nav_params(
registrar.GetAppStartUrl(iwa_id), /*is_first_nav=*/true);
base::WeakPtr<content::NavigationHandle> handle = Navigate(&navigate_params);
web_app::EnqueueLaunchParams(handle->GetWebContents(), iwa_id, original_url, ...);
}
}
However, TabsCreateFunction has no equivalent restriction. When an extension calls chrome.tabs.create({url, windowId}), it resolves windowId to a BrowserWindowInterface* and routes to OpenTabHelper::OpenTab (chrome/browser/extensions/open_tab_helper.cc), which navigates to the requested URL verbatim.
While lower-level navigation checks exist in HandleIsolatedWebAppNavigation (chrome/browser/ui/web_applications/navigation_capturing_process.cc), they are bypassed if the extension specifies the IWA's window ID. In NavigationCapturingProcess, source_browser_app_id_ is derived from params.browser:
source_browser_app_id_(
params.browser && web_app::AppBrowserController::IsWebApp(params.browser)
? std::optional(params.browser->...->app_controller()->app_id())
: std::nullopt),
By supplying the target IWA window's ID, source_browser_app_id_ resolves to the IWA's app ID. Consequently, the cross-IWA cancellation guard evaluates to false (since the source and target app IDs match):
if (ui::PageTransitionCoreTypeIs(params.transition, ui::PAGE_TRANSITION_LINK)) {
if (source_browser_app_id_ != iwa_id && ...) { // Evaluates to false; no cancellation occurs
return CancelInitialNavigation(...);
}
}
The navigation proceeds with the original, unvetted params.url, opening a new IWA tab/window navigated directly to the deep path.
2. Potential tabs.update Bypass Vector
When an extension invokes chrome.tabs.update(<iwa-tab-id>, {url: 'isolated-app://<same-iwa>/deep'}), TabsUpdateFunction::UpdateURL (tabs_api.cc) directly calls:
web_contents->GetController().LoadURLWithParams(...);
This entirely bypasses Navigate() and the HandleIsolatedWebAppNavigation navigation capturing pipelines. Because the navigation occurs within an existing IWA-associated WebContents, the IsolatedWebAppThrottle (chrome/browser/web_applications/isolated_web_apps/isolated_web_app_throttle.cc) permits the request because the destination origin matches the existing WebContentsIsolationInfo origin. This navigates the live, active IWA tab to the deep path in-place.
Potential Impact
An installed, low-privilege extension with no manifest permissions can query all open windows via chrome.windows.getAll({windowTypes: ['app']}) to retrieve the active IWA's window and tab IDs. It can then trigger sensitive, internal routes (e.g., administrative actions, state modification endpoints) directly, circumventing the application's launchQueue validation logic and performing a localized CSRF attack against the IWA.
Suggested / Potential Reproduction Steps
Note: Our automated tooling does not yet have the ability to run code, so these are suggested/potential steps to reproduce.
-
Install an Isolated Web App (IWA) and open it so that its window is active.
-
Load an unpacked Manifest V3 extension with an empty
permissionsblock. -
Execute the following potential code from the extension's background service worker to perform a direct deep navigation bypassing the
start_urlguard:JavaScript // 1. Locate the open IWA window const windows = await chrome.windows.getAll({ windowTypes: ['app'] }); const targetIwaWindow = windows[0]; const targetIwaId = "<insert-iwa-app-id>"; // 2. Bypass via tabs.create await chrome.tabs.create({ url: `isolated-app://${targetIwaId}/secret-admin-route?action=wipe`, windowId: targetIwaWindow.id, active: true }); -
Observe if a fresh IWA tab opens and navigates directly to
/secret-admin-route?action=wipeinstead of routing the request through the standard launch queue. -
Alternatively, to reproduce via the
tabs.updatesibling vector on the active tab:JavaScript const [tab] = await chrome.tabs.query({ windowId: targetIwaWindow.id }); await chrome.tabs.update(tab.id, { url: `isolated-app://${targetIwaId}/secret-admin-route?action=wipe` }); -
Observe if the existing IWA tab navigates directly and in-place to the sensitive deep link.
Suggested Fix
- In
chrome/browser/extensions/api/tabs/tabs_api.cc, bothTabsCreateFunctionandTabsUpdateFunctionshould detect if the target navigation belongs to an Isolated Web App. - When an extension-initiated navigation targets an IWA, the navigation should either be strictly filtered/disallowed if it targets a deep path, or it should be forced to route through the standard
start_urlandEnqueueLaunchParamslaunch pipeline (similar to howWindowsCreateFunctionenforces this).
Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379
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
Likely the tabs.create and tabs.update extension APIs navigate to the supplied URL without applying the start_url enforcement and launch-queue routing that the window-creation path uses for Isolated Web Apps.
Impact
An extension with no permissions could reach sensitive internal routes of an installed IWA and trigger state changes, though the report notes the reproduction steps are only suggested and were not run.
What the attacker needed
An installed Isolated Web App; a low-privilege extension the user has loaded; no special extension permissions needed
The fix
The tabs.create and tabs.update functions should detect navigations into an Isolated Web App and either block deep paths or force them through the start_url and launch-queue pipeline.
How it was found
- Install an Isolated Web App and open it so its window is active.
- Load an unpacked Manifest V3 extension with an empty permissions block.
- From the extension's background service worker, list open app windows to find the IWA window.
- Call tabs.create with the IWA's deep-link URL and that window ID, then check whether a new tab opens directly on the deep route.
- Alternatively, call tabs.update on a tab in that window with the deep-link URL and check whether the existing tab navigates in place.
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.
An Isolated Web App is a packaged web application installed in the browser that is meant to open only at its official starting page, with any other requested address passed along for the app to check first. The report says two browser extension functions for opening and changing tabs skipped that check, so a small extension could send the app to an internal page it would not normally accept. The result is that the app might perform an action the user never asked for.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.