Insufficient validation of untrusted input in Mobile (CVE-2026-17860)
An Android intent handler in Chrome accepted a caller-supplied transition type of TYPED from any third-party app, bypassing the first-party trust check. An attacker could therefore inflate the typed count of a URL in the user's history, promoting it to an inline Omnibox autocomplete suggestion and potentially redirecting the user to a phishing site.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 55 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: An issue in the Android IntentHandler allows untrusted third-party applications to set the transition type of triggered Custom Tabs or VIEW intents to PageTransition.TYPED without signature or first-party trust checks. This can potentially allow an attacker to artificially increase the typed_count of an arbitrary URL in the user's history backend. Consequently, the attacker's URL can be promoted to an inline autocomplete suggestion in the Omnibox, hijacking user navigations.
Affected files:
chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.javachrome/android/java/src/org/chromium/chrome/browser/customtabs/content/CustomTabActivityNavigationController.javacontent/browser/renderer_host/navigation_controller_android.ccchrome/browser/history/history_tab_helper.cccomponents/history/core/browser/history_backend.cccomponents/omnibox/browser/history_url_provider.cccomponents/omnibox/browser/scored_history_match.cc
Estimated timestamp from git blame: 2016-05-26
Root Cause Analysis
In chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java (lines 1464-1477), the method getTransitionTypeFromIntent extracts a transition type specified by an incoming intent extra com.google.chrome.transition_type (EXTRA_PAGE_TRANSITION_TYPE). However, it contains an exemption that bypasses the first-party trust check for the PageTransition.TYPED transition:
public static int getTransitionTypeFromIntent(Intent intent, int defaultTransition) {
if (intent == null) return defaultTransition;
int transitionType =
IntentUtils.safeGetIntExtra(
intent, IntentHandler.EXTRA_PAGE_TRANSITION_TYPE, PageTransition.LINK);
if (transitionType == PageTransition.TYPED) {
return transitionType;
} else if (transitionType != PageTransition.LINK
&& notSecureIsIntentChromeOrFirstParty(intent)) {
// 1st party applications may specify any transition type.
return transitionType;
}
return defaultTransition;
}
Because of the unconditional check if (transitionType == PageTransition.TYPED), any untrusted external application can pass a transition type of PageTransition.TYPED (1), which is returned directly, bypassing signature verification (notSecureIsIntentChromeOrFirstParty).
Potential Data Flow and Impact
- Intent Extraction: A potentially malicious app launches a Custom Tab or a VIEW intent targeting Chrome, passing the intent extra
"com.google.chrome.transition_type" = 1along with a malicious URL (e.g.,https://attacker.example/phish). - Transition Propagation:
CustomTabActivityNavigationController.java:249-251usesIntentHandler.getTransitionTypeFromIntent()to retrieve the transition type from the intent, assigning it to the navigation parameters (LoadUrlParams). - Navigation Commit: The navigation proceeds and commits in the browser process with the transition type set to
ui::PAGE_TRANSITION_TYPED(converted incontent/browser/renderer_host/navigation_controller_android.cc:249). Because this is a browser-initiated navigation, it does not undergo renderer-initiated IPC checks likePageTransitionIsWebTriggerable. - History Backend Increment: Once the navigation commits,
HistoryTabHelper::CreateHistoryAddPageArgs(inchrome/browser/history/history_tab_helper.cc:231) reads the transition type. Since it isPAGE_TRANSITION_TYPED,HistoryBackend::IsTypedIncrement(incomponents/history/core/browser/history_backend.cc:362) evaluates totrue. This causes the history database to increment thetyped_countof the malicious URL in SQLite. - Omnibox Autocomplete Hijacking: After one or two potential visits, the
HistoryURLProvider(components/omnibox/browser/history_url_provider.cc:235) evaluates the URL'styped_countand promotes it as a high-confidence inline autocompletion match for its matching prefixes. When the user subsequently types a matching prefix and presses Enter, they are redirected to the attacker's phishing site. - Cross-Device Sync: Because the transition is stored as
TYPEDand synchronized via Chrome Sync, this autocomplete poisoning potentially propagates to all other signed-in devices (including desktop Chrome).
Potential Steps to Reproduce
Note: These steps are based on static code analysis. Our testing tooling does not currently have the capability to execute code programmatically to verify.
-
From an Android app, construct an intent targeting Chrome to launch a Custom Tab with the target URL:
Java Intent intent = new CustomTabsIntent.Builder().build().intent; intent.setData(Uri.parse("https://attacker.example/phish")); intent.putExtra("com.google.chrome.transition_type", 1); // PageTransition.TYPED intent.setPackage("com.android.chrome"); context.startActivity(intent); -
Wait for the navigation to commit, and then repeat the process once more (to satisfy the
typed_count > 1criteria required for non-host URLs). -
Open the Chrome Omnibox and type a prefix matching the malicious URL (e.g.,
att). Observe if the URL is promoted to the inline autocomplete suggestion.
Suggested Fix
In chrome/android/java/src/org/chromium/chrome/browser/IntentHandler.java, remove the exemption for PageTransition.TYPED and ensure that all non-LINK transition types (including TYPED) are subjected to the first-party trust check:
public static int getTransitionTypeFromIntent(Intent intent, int defaultTransition) {
if (intent == null) return defaultTransition;
int transitionType =
IntentUtils.safeGetIntExtra(
intent, IntentHandler.EXTRA_PAGE_TRANSITION_TYPE, PageTransition.LINK);
if (transitionType != PageTransition.LINK
&& notSecureIsIntentChromeOrFirstParty(intent)) {
// Only verified 1st party applications may specify custom transition types.
return transitionType;
}
return defaultTransition;
}
Evaluated with Chrome root at commit: e9507a33bb4148ee071aaaf8a7e9ad68770359bf
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 transition-type extraction code returns PageTransition.TYPED unconditionally before the first-party trust check, so any external app can claim the user typed the URL.
Impact
The attacker's URL could be promoted to an inline autocomplete suggestion and, because the transition is stored as TYPED and synced, this could spread to the user's other signed-in devices; the report notes the steps are from static analysis and were not executed.
What the attacker needed
Malicious app installed on the device; user opens the crafted intent; two visits to the URL; user types a matching prefix
The fix
The exemption for PageTransition.TYPED should be removed so that all non-LINK transition types go through the first-party trust check.
How it was found
- From an Android app, build a Custom Tab intent for the target URL and add the transition type extra set to TYPED, then start it against Chrome.
- Wait for the navigation to commit and repeat once more so the typed count exceeds one.
- Open the Omnibox and type a prefix matching the URL, then check whether it appears as an inline autocomplete suggestion.
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.
When you type an address into Chrome's address bar, Chrome remembers it and later suggests it as you type. This report says a malicious app on the phone could trick Chrome into marking a website as if the user had typed it, so Chrome starts suggesting that site. If the user then picks the suggestion, they could land on a phishing page.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.