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

UI misrepresentation in TrustedWebActivities (CVE-2026-113204)

A verified Trusted Web Activity kept its full-screen, no-toolbar presentation after the top-level page navigated to a blob document belonging to an attacker-controlled origin. An attacker with an embedded third-party iframe could therefore show a fake sign-in page with no origin indicator and collect the password the user typed.

jodyritonga Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

Steps to reproduce the problem

Reproduction

The attached APK is a victim-environment harness, not the attacker application. It creates a correctly verified TWA using the supplied assetlinks.json and opens origin A. The attacker capability is limited to the cross-origin iframe served by origin B.

  1. Install twa-blob-medium-poc.apk on a device with Chrome 150.0.7871.186.
  2. Serve site/ through two HTTPS origins. Origin A must serve trusted-twa.html and /.well-known/assetlinks.json; origin B serves attacker.html and collect.
  3. Update the two host constants in app/app/src/main/java/dev/vrp/twablobpoc/MainActivity.java and the iframe/fetch URLs in the HTML if different hosts are used, then rebuild the APK.
  4. Launch the app. Confirm that the page opens full-screen as a verified TWA and Chrome displays its normal Running in Chrome disclosure.
  5. Tap Open protected document once.
  6. Observe the full-screen Northstar Workspace / Session expired page. There is no URL bar, close button, or origin indicator.
  7. Enter a dummy value and tap Sign in.
  8. Tap Show PoC details. The page prints a committed URL beginning with blob:https://<origin-B>/ and Document origin: https://<origin-B> while Chrome still shows no browser controls.

Direct launch command:

Bash
adb shell am start -f 0x10008000 -n dev.vrp.twablobpoc/.MainActivity

Problem Description

Root cause

At CurrentPageVerifier.verify():

Java
Promise<Boolean> result = mDelegate.verify(url);
String scope = mDelegate.getVerifiedScope(url);
if (scope == null) return;

For blob:https://attacker/..., TwaVerifier.verify() correctly produces a fulfilled false result because Origin.create(url) rejects non-HTTP(S) outer schemes. However, TwaVerifier.getVerifiedScope() also returns null. CurrentPageVerifier then returns before consuming the false result and leaves the previous VerificationStatus.SUCCESS state untouched.

SharedActivityCoordinator.appModeUiAllowedFor() treats every state except explicit FAILURE as app mode, and TrustedWebActivityBrowserControlsVisibilityManager consequently keeps browser controls hidden. A secure-inner-origin blob has security level NONE, so the separate DANGEROUS/WARNING fallback does not reveal the toolbar.

Affected functions:

  • chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/controller/CurrentPageVerifier.java:118
  • chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/controller/trustedwebactivity/TwaVerifier.java:70
  • components/embedder_support/android/java/src/org/chromium/components/embedder_support/util/Origin.java:35
  • chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/SharedActivityCoordinator.java:100
  • chrome/android/java/src/org/chromium/chrome/browser/browserservices/trustedwebactivityui/controller/TrustedWebActivityBrowserControlsVisibilityManager.java:117
  • chrome/browser/ssl/security_state_tab_helper_browsertest.cc:301

Security impact

An attacker who controls third-party content embedded by a legitimate TWA can replace the complete top-level page with a credential prompt while Chrome conceals the attacker origin. The user makes the security-relevant decision to enter a password because the page still has the legitimate app's full-screen presentation and no trustworthy origin indicator. In the attached PoC, a dummy password entered into the origin-concealed page is sent to the attacker's HTTPS origin and received by the PoC server.

The attacker does not need to control the Android app, the verified TWA origin, or its Digital Asset Links file. Those are controlled locally in this self-contained harness only to avoid testing a third-party production TWA. The real-world prerequisite is an unsandboxed third-party iframe, such as an ad, partner widget, or user-controlled embed, inside a legitimate TWA. Exploitation then requires one click inside that frame.

Expected versus actual

Expected: after the top-level document commits an origin-B blob URL, TWA verification changes to FAILURE; Chrome displays the Custom Tab toolbar containing origin B and a close control.

Actual: the old SUCCESS state persists. The attacker page occupies the complete TWA surface indefinitely, and control_container, toolbar, location_bar, and url_bar are all absent.

Additional Comments

Summary

TWA preserves verified no-toolbar UI after navigation to an attacker-origin blob document

Custom Questions

Type of crash:

Crash state:

Reporter credit:

Additional Data

Category: Security
Chrome Channel: Not sure
Regression: N/A \

The original report as published on the Chromium issue tracker, by jodyritonga. 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 the page verifier returned early when the verified scope was null for a blob URL, so it never consumed the failed verification result and the previous success state persisted, keeping browser controls hidden.

Impact

A user could be tricked into entering credentials into an attacker-origin page that looks like the legitimate app, because no toolbar, URL bar or origin indicator is shown; the PoC confirms the entered value reaches the attacker's server.

What the attacker needed

Legitimate verified TWA; unsandboxed third-party iframe inside it; victim taps once inside the frame

How it was found

  1. Install the harness app on a device with the stated Chrome version.
  2. Serve the two HTTPS origins, one with the verified asset links and one with the attacker page.
  3. Point the app's host constants and page URLs at those hosts and rebuild.
  4. Launch the app and confirm it opens full-screen as a verified TWA with the normal Chrome disclosure.
  5. Tap the button to open the protected document and observe the full-screen session-expired page with no URL bar or close control.
  6. Enter a dummy value, sign in, and view the details, which show the committed blob URL and document origin from the attacker host.

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.

A Trusted Web Activity is an Android app that shows a website full-screen without a browser address bar, because the app and site have proven they trust each other. Here the page inside that full-screen view was swapped for one from a different site, but the app kept hiding the address bar, so the user could not see who was really asking for a password. The attacker only needs a small embedded frame on the real site, plus one tap from the user.

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 by jodyritonga

View all

3 more disclosed reports, best first.

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.