Insufficient policy enforcement in Chrome for iOS (CVE-2026-11285)
A logic error in Chrome for iOS allows a malicious website to automatically trigger the Shared Tab Group join flow without user interaction. This dismisses active modal dialogs and presents a trusted system sheet, potentially granting the attacker access to the user's Google identity and the ability to push tabs if the user clicks 'Join'.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 51 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 without the Chrome Security team.
Overview: A logic error in DataSharingTabHelper on iOS allows script-initiated navigations to bypass user-gesture requirements for the Shared Tab Group join flow. This enables a malicious site to automatically trigger the join flow, dismissing active modals and presenting a trusted system sheet without user interaction.
Affected files:
ios/chrome/browser/collaboration/model/data_sharing_tab_helper.mmios/chrome/browser/data_sharing/model/data_sharing_ui_delegate_ios.mmios/web/navigation/crw_wk_navigation_handler.mmios/web/web_state/user_interaction_state.mm
Estimated timestamp from git blame: 2025-04-30
Summary
The DataSharingTabHelper on iOS contains a logic error in its gesture gating mechanism, allowing script-initiated navigations to bypass intended user-gesture requirements when joining shared tab groups. A malicious website can exploit this to automatically trigger the 'Join shared tab group' flow, which aggressively dismisses current modal dialogs (including security warnings or settings) and presents a trusted system sheet to the user without any prior interaction.
Vulnerability Details
In ios/chrome/browser/collaboration/model/data_sharing_tab_helper.mm, the function ShouldHandleShareURLNavigation determines whether a navigation to a Data Sharing URL should be intercepted to show the native "Join Group" UI. The implementation contains the following gate:
if (request_info.is_user_initiated && !request_info.user_tapped_recently) {
return false;
}
On iOS, request_info.is_user_initiated and request_info.user_tapped_recently are populated by the crw_wk_navigation_handler.mm delegate based on the UserInteractionState class.
Crucially, UserInteractionState::IsUserInteracting() strictly returns false if HasUserTappedRecently() is false. Because of this dependency, it is logically impossible for is_user_initiated to be true while user_tapped_recently is false in the context of an automated script execution.
When a site triggers an automated, script-initiated navigation (e.g., via window.location.href = data_sharing_url;), there is no recent tap. Consequently, is_user_initiated evaluates to false.
Because the if condition uses a logical &&, the entire block short-circuits and is bypassed. The function erroneously proceeds to the end and returns true, authorizing the interception. This behavior is contrary to the Desktop and Android implementations (e.g., chrome/browser/data_sharing/data_sharing_navigation_throttle.cc), which correctly verify that renderer-initiated navigations are accompanied by a user gesture.
Once the request is authorized, the interception eventually routes to DataSharingUIDelegateIOS::HandleShareURLIntercepted, which executes dismissModalDialogsWithCompletion: to aggressively clear any active top-level UI, followed by presenting the native iOS ShareKit join sheet.
Impact
An attacker can trigger this behavior by navigating the top-level frame to a Data Sharing URL without user interaction. This allows an attacker to:
- Forcefully dismiss active Chrome modal dialogs (such as password prompts, permission requests, or security warnings) without user consent.
- Present a trusted, native system sheet to the user without interaction.
- If the user subsequently clicks 'Join' on the unexpected prompt, the attacker gains access to the user's Google identity (name and email) via the group roster and can push arbitrary HTTP/HTTPS tabs to the user's browser indefinitely via the Tab Group Sync service.
Potential Reproduction Steps
Note: These are potential steps based on static analysis.
- Using Chrome on iOS, ensure you are signed in to a Google account and that the Shared Tab Groups feature is enabled.
- Visit a malicious website that executes a script-initiated navigation to a shared tab group URL on load:
JavaScript window.onload = function() { location.href = 'https://www.google.com/chrome/tabshare/?g=ATTACKER_GROUP&t=ATTACKER_TOKEN'; }; - Observe that any active modal dialogs are dismissed and the 'Join shared tab group' native sheet is presented immediately without any user interaction.
Suggested Fix
Correct the logic in ShouldHandleShareURLNavigation to explicitly reject automated renderer navigations. The logic should require a user gesture if the navigation is renderer-initiated (or in the iOS context, if the request lacks a recent tap), similar to the implementation in DataSharingNavigationThrottle::ShouldHandleShareURLNavigation.
For example:
if (!request_info.is_user_initiated && !request_info.user_tapped_recently) {
return false;
}
(Or alternatively, checking if a tap occurred recently regardless of the is_user_initiated heuristic).
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 a logical AND condition that short-circuits when the navigation is not user-initiated, causing the function to incorrectly return true and allow the join flow.
Impact
An attacker could dismiss security warnings and present a trusted join sheet; if the user clicks 'Join', the attacker may gain access to the user's Google identity and push arbitrary tabs to the browser.
What the attacker needed
Chrome on iOS; Signed in to a Google account; Shared Tab Groups feature enabled; Victim visits a malicious website
The fix
The logic in ShouldHandleShareURLNavigation should be corrected to explicitly reject automated renderer navigations, for example by requiring a recent tap regardless of the is_user_initiated heuristic.
How it was found
- Sign in to a Google account on Chrome for iOS and enable Shared Tab Groups.
- Visit a malicious website that runs a script to navigate to a shared tab group URL on page load.
- Observe that active modal dialogs are dismissed and the join sheet appears without user interaction.
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 visit a website, your browser usually requires you to click something before it can open certain system prompts. Here, a coding mistake meant a website could open a 'join group' prompt on its own, closing any warnings you were reading. If you then tapped 'Join', the attacker could see your name and email and send tabs to your browser.
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.