Incorrect authorization in Isolated (CVE-2026-87577)
A logic error in IsolatedWebAppThrottle causes data: URL iframes to be treated as trusted IWA origins, allowing navigation into protected internal routes. An attacker who can place content in such an iframe could perform GET-based CSRF and potentially reach DOM-XSS sinks within the IWA.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 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: A logic error in IsolatedWebAppThrottle allows navigations from data: URL iframes into protected Isolated Web App (IWA) routes. The throttle incorrectly treats data: iframes as trusted app origins by collapsing their opaque origin to the IWA precursor.
Affected files:
content/browser/renderer_host/isolated_web_app_throttle.cc
Estimated timestamp from git blame: 2025-05-15
Description
IsolatedWebAppThrottle is responsible for enforcing security boundaries for Isolated Web Apps (IWAs). It ensures that renderer-initiated navigations into an IWA only originate from trusted app frames.
A logic error exists in MaybeThrottleNavigationTransition. The throttle uses GetTupleOrPrecursorTupleIfOpaque() to compare origins for security checks. If an IWA creates a data: URL iframe, the browser assigns the iframe an opaque origin, but sets its precursor to the IWA's origin.
When a navigation is initiated from this data: iframe to an internal IWA route (isolated-app://...), the throttle evaluates the iframe's origin (prev_origin_) using GetTupleOrPrecursorTupleIfOpaque(). This collapses the untrusted opaque origin down to the trusted IWA precursor. Consequently, the throttle believes the navigation originated from a trusted same-origin app frame and allows it to proceed.
Impact
If an IWA renders user-influenced content within a data: URL iframe, an attacker can use this bypass to navigate the iframe to internal IWA routes. This circumvents the intended security boundary separating the IWA from untrusted subframes.
Because the data: iframe is not restricted by the parent's script-src CSP (it is an opaque origin), an attacker can execute script within the iframe and trigger a navigation. This enables GET-based CSRF against internal IWA routes, and potentially exposes DOM-XSS sinks within the protected IWA environment, bypassing the IWA's isolation guarantees.
Potential Reproduction Steps
- Install an IWA that renders user-influenced HTML in an unsandboxed
data:URL iframe (e.g., a file preview feature). - Provide content to the iframe that executes:
window.location.href = "isolated-app://<app-id>/sensitive-route". - The navigation request is evaluated by
IsolatedWebAppThrottle. - The
prev_origin_check collapses thedata:URL's opaque origin to the<app-id>, matching the IWA origin. - The navigation is incorrectly permitted, committing the protected internal route within the previously untrusted iframe.
Suggested Fix
Modify IsolatedWebAppThrottle::MaybeThrottleNavigationTransition to differentiate between the true app origin and opaque origins with an app precursor when evaluating the initiator of a navigation into the app.
For prev_origin_ and initiator_origin, the throttle should likely require a strict origin match (or explicitly handle opaque origins) rather than unconditionally collapsing them via GetTupleOrPrecursorTupleIfOpaque(), ensuring that only legitimate same-origin app frames can navigate to isolated-app:// URLs.
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
Likely the throttle uses GetTupleOrPrecursorTupleIfOpaque() to compare origins, which collapses an opaque data: iframe origin to its IWA precursor and makes it appear same-origin.
Impact
An attacker could use this bypass to navigate a data: iframe to internal IWA routes, enabling GET-based CSRF and potentially exposing DOM-XSS sinks, though this requires the IWA to render user-influenced content in such an iframe.
What the attacker needed
IWA renders user-influenced HTML in data: iframe; Attacker can supply content to that iframe
The fix
The throttle should be modified to differentiate between the true app origin and opaque origins with an app precursor, likely requiring a strict origin match or explicit handling of opaque origins instead of collapsing them.
How it was found
- Install an IWA that renders user-influenced HTML in an unsandboxed data: URL iframe.
- Provide content to the iframe that triggers a navigation to an internal IWA route.
- The navigation request is evaluated by IsolatedWebAppThrottle.
- The origin check collapses the data: URL's opaque origin to the app ID, matching the IWA origin.
- The navigation is incorrectly permitted and the protected route loads in the untrusted iframe.
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 (IWA) is a special kind of web app that is supposed to be sealed off from untrusted content. A data: URL iframe is a way to embed a small page directly inside another page, and it normally has no real origin, so it should not be trusted. The bug is that the browser mistakenly treats that untrusted iframe as if it came from the trusted app, so it lets the iframe navigate to internal app pages it should not reach.
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.