Skip to content
UI spoofing Advisory Advanced CVE-2026-17835

Inappropriate implementation in Chrome for iOS (CVE-2026-17835)

The account consistency handler on Chrome for iOS processes Mirror headers from background tabs without checking if the tab is active, allowing a background tab to trigger trusted native account-management dialogs over an arbitrary foreground tab or force a back-navigation on the active tab. An attacker could use this to spoof trusted UI or disrupt the user's browsing.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 2 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: The account consistency handler on Chrome for iOS processes Mirror headers received in background tabs without verifying if the associated tab is currently active. This allows background-tab navigations to potentially trigger trusted native Google account-management, add-account, or settings UI overlays over arbitrary foreground tabs. Additionally, background-tab navigations can trigger an unexpected back-navigation on the active foreground tab.

Affected files:

  • components/signin/ios/browser/account_consistency_service.mm
  • ios/chrome/browser/signin/model/account_consistency_browser_agent.mm
  • components/signin/ios/browser/manage_accounts_delegate.h

Estimated timestamp from git blame: 2015-09-07

Summary

A potential cross-tab isolation and UI spoofing vulnerability exists in Google Chrome for iOS due to a missing active-tab guard during the handling of Mirror header (X-Chrome-Manage-Accounts) actions. When a background tab initiates a navigation to a Google Gaia endpoint, Chrome processes the Mirror header responses in the background without validating whether the invoking web::WebState is the active, foremost tab. This allows a background tab to potentially trigger native, trusted settings or sign-in dialogs over an arbitrary foreground tab, or force an unsolicited back-navigation on the active foreground tab.

Root Cause Analysis

In components/signin/ios/browser/account_consistency_service.mm, the AccountConsistencyService::AccountConsistencyHandler::ShouldAllowResponse method intercepts responses from Gaia containing the X-Chrome-Manage-Accounts header (such as action=DEFAULT, action=ADDSESSION, or action=INCOGNITO):

C++
void AccountConsistencyService::AccountConsistencyHandler::ShouldAllowResponse(
    NSURLResponse* response,
    web::WebStatePolicyDecider::ResponseInfo response_info,
    web::WebStatePolicyDecider::PolicyDecisionCallback callback) {
...
  switch (params.service_type) {
    case signin::GAIA_SERVICE_TYPE_INCOGNITO:
      if (delegate_) delegate_->OnGoIncognito(continue_url);
      break;
    ...

The issue is that ShouldAllowResponse does not check if the associated web_state_ is the active foreground tab before invoking these delegate methods. In addition, the delegate methods OnManageAccounts, OnAddAccount, and OnGoIncognito defined in components/signin/ios/browser/manage_accounts_delegate.h do not accept a web::WebState* parameter, preventing the delegate from performing the active-tab check at the sink level:

C++
virtual void OnManageAccounts(const GURL& url) = 0;
virtual void OnAddAccount(const GURL& url, const std::string& email) = 0;
virtual void OnGoIncognito(const GURL& url) = 0;

In contrast, OnShowConsistencyPromo does accept a web::WebState* parameter and implements a proper check in ios/chrome/browser/signin/model/account_consistency_browser_agent.mm:

OBJC
void AccountConsistencyBrowserAgent::OnShowConsistencyPromo(
    const GURL& url, web::WebState* web_state) {
  web::WebState* current_web_state =
      browser_->GetWebStateList()->GetActiveWebState();
  if (current_web_state == web_state) {
    [application_handler_ showWebSigninPromoFromViewController:base_view_controller_ URL:url];
  }
}

Without a similar check for the other actions:

  1. OnGoIncognito calls WebNavigationBrowserAgent::FromBrowser(browser_)->GoBack(); which operates directly on the active foreground WebState rather than the background WebState that initiated the action. This can force an unsolicited back-navigation on the active tab.
  2. OnManageAccounts and OnAddAccount present native dialogs (e.g., settings sheet, sign-in promo, or add-account controller) using base_view_controller_, which overlays the trusted UI directly over whichever foreground tab is currently active.

Potential Attack Scenario

Please note that these are suggested/potential steps as our analysis is based on code inspection and our tooling does not have the ability to run code.

  1. A victim is signed in to Chrome on iOS (making the CHROME_CONNECTED cookie present on accounts.google.com).
  2. The victim visits attacker.com (Tab B), which opens a new tab/popup pointing to attacker.com/lure (Tab C). Tab C becomes the active foreground tab, while Tab B is pushed into the background.
  3. Tab B initiates a background main-frame navigation to a Gaia URL, such as https://accounts.google.com/SignOutOptions or https://accounts.google.com/AddSession.
  4. The background tab's WKWebView processes the navigation, transmitting the CHROME_CONNECTED cookie.
  5. The Gaia server returns a response with the X-Chrome-Manage-Accounts header.
  6. AccountConsistencyHandler::ShouldAllowResponse intercepts this response in the background. Because there is no active-tab check, it dispatches the action to the delegate.
  7. The browser presents native, trusted UIs (such as the SSO add-account dialog) over the active foreground tab (Tab C) or forces a back-navigation on it, depending on the action specified in the header.

Suggested Fix

To mitigate this potential vulnerability, Chrome for iOS should verify that the WebState initiating the request is the active/foremost tab before executing any of the delegated actions. This can be achieved by:

  1. Modifying the ManageAccountsDelegate interface to pass the source web::WebState* as a parameter to OnManageAccounts, OnAddAccount, and OnGoIncognito.
  2. Inside AccountConsistencyBrowserAgent, verifying that the passed WebState is equal to browser_->GetWebStateList()->GetActiveWebState() before displaying any UI or triggering navigation.

Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379


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

Likely the account consistency handler does not verify that the tab receiving the Mirror header is the active foreground tab before invoking delegate methods that show native UI or trigger navigation.

What the attacker needed

Victim signed in to Chrome on iOS; victim visits attacker-controlled site; attacker can open a background tab

The fix

The fix should verify that the WebState initiating the request is the active foreground tab before executing delegated actions, by passing the source WebState to the delegate methods and comparing it to the active WebState.

How it was found

  1. The victim is signed in to Chrome on iOS, so the CHROME_CONNECTED cookie is present on accounts.google.com.
  2. The victim visits an attacker site in Tab B, which opens a new tab (Tab C) that becomes active while Tab B goes to the background.
  3. Tab B initiates a background navigation to a Gaia URL such as SignOutOptions or AddSession.
  4. The background tab's web view sends the CHROME_CONNECTED cookie and receives a response with the X-Chrome-Manage-Accounts header.
  5. The handler intercepts the response without an active-tab check and dispatches the action to the delegate.
  6. The browser shows native trusted UI over the active foreground tab or forces a back-navigation on it.

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 browse, a website can tell Chrome to show special account menus. The bug is that a website in a background tab can make those menus appear on top of a different tab you are looking at, which could trick you into thinking the menu belongs to that page. It can also make the current tab go back unexpectedly.

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.