Skip to content
UI spoofing Advisory Intermediate CVE-2026-87486

Clickjacking in TrustedWebActivities (CVE-2026-87486)

A missing validation of the splash screen animation duration in Trusted Web Activities allows a malicious app to overlay a persistent fake UI on top of Chrome. By providing an extremely large duration, an attacker can keep a spoofed address bar visible while interactions are passed to a malicious website.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 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 missing validation of the splash screen animation duration parameter in Trusted Web Activities allows a malicious app to overlay a persistent fake UI on top of Chrome. By providing an extremely large duration, an attacker can keep a spoofed address bar visible while interactions are passed to a malicious website.

Affected files:

  • chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/splashscreen/trustedwebactivity/TwaSplashController.java
  • chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/splashscreen/SplashController.java

Estimated timestamp from git blame: 2019-04-07

Summary

A potential vulnerability in Chrome for Android's Trusted Web Activity (TWA) implementation allows a malicious local application to overlay a static bitmap over Chrome's UI for an extended duration. This enables address bar spoofing and tapjacking by exploiting an unclamped animation duration parameter.

Root Cause Analysis

In TwaSplashController.java, the splash screen fade-out duration is retrieved directly from an attacker-supplied Intent bundle via SplashScreenParamKey.KEY_FADE_OUT_DURATION_MS. This value is read using IntentUtils.safeGetInt() but is never validated or clamped to a reasonable maximum.

Java
// chrome/android/java/src/org/chromium/chrome/browser/browserservices/ui/splashscreen/trustedwebactivity/TwaSplashController.java
long splashHideAnimationDurationMs =
        IntentUtils.safeGetInt(
                assertNonNull(getSplashScreenParamsFromIntent()),
                SplashScreenParamKey.KEY_FADE_OUT_DURATION_MS,
                0);
mSplashController.setConfigAndShowSplash(this, splashHideAnimationDurationMs);

This value is subsequently passed to ViewPropertyAnimator.setDuration() in SplashController.java. If an attacker provides a value like Integer.MAX_VALUE (approximately 24.8 days), the splash screen—which is a MATCH_PARENT ImageView containing an attacker-provided bitmap—will remain visible and nearly opaque for the duration of the user's session.

Vulnerability Mechanics

  1. Occlusion: The splash screen ImageView is added to android.R.id.content and re-added as the last child during startup. This positioning allows it to occlude the Chrome toolbar (address bar) and the web content area.
  2. Touch Pass-Through: By default, the ImageView used for the splash screen is non-clickable. In Android's view dispatch logic, touch events that are not consumed by the top-level view fall through to the underlying views. Consequently, touches are routed to the attacker-controlled web content beneath the splash screen.
  3. Persistence: Digital Asset Link (DAL) verification failure (which normally triggers a UI downgrade to standard Custom Tab mode with a visible toolbar) does not remove the splash screen. The overlay persists because it is rendered at a higher Z-order than the toolbar, and no logic in Chrome explicitly removes it upon verification failure.

Potential Reproduction Steps

Note: These steps are based on code analysis and have not been verified with a live proof of concept.

  1. From a malicious Android app, create a CustomTabsService session.
  2. Provide a splash image via session.receiveFile that depicts a spoofed Chrome UI and address bar (e.g., mimicking https://accounts.google.com).
  3. Launch a TWA intent targeting an attacker-controlled origin, setting KEY_FADE_OUT_DURATION_MS to Integer.MAX_VALUE in the EXTRA_SPLASH_SCREEN_PARAMS bundle.
  4. Verify that the spoofed bitmap covers the entire view, including the real toolbar, while interactions are delivered to the underlying malicious site.

Suggested Fix

Apply a reasonable upper bound to the splash screen fade-out duration in TwaSplashController.java (e.g., clamp the value to 1000ms).

Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a


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.

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

The splash screen fade-out duration is read from an attacker-supplied Intent bundle and is never validated or clamped to a reasonable maximum.

Impact

An attacker could spoof the address bar and trick users into interacting with a malicious site, but the report notes the steps are based on code analysis and have not been verified with a live proof of concept.

What the attacker needed

Malicious Android app installed; user opens the malicious app

The fix

Apply a reasonable upper bound to the splash screen fade-out duration in TwaSplashController.java (e.g., clamp the value to 1000ms).

How it was found

  1. From a malicious Android app, create a CustomTabsService session.
  2. Provide a splash image via session.receiveFile that depicts a spoofed Chrome UI and address bar.
  3. Launch a TWA intent targeting an attacker-controlled origin, setting KEY_FADE_OUT_DURATION_MS to Integer.MAX_VALUE in the EXTRA_SPLASH_SCREEN_PARAMS bundle.
  4. Verify that the spoofed bitmap covers the entire view, including the real toolbar, while interactions are delivered to the underlying malicious site.

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 malicious app can make Chrome show a fake address bar that looks like a real website, and keep it there for a very long time. When you tap on the screen, your taps go to the attacker's website underneath, not to the fake bar. This could trick you into entering information on a site you think is legitimate.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.