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

Confused deputy in Browser (CVE-2026-113127)

The HaTS survey dialog forwards window.open() requests to the main browser profile as browser-initiated navigations, stripping the initiator origin. A compromised survey renderer could bypass web_accessible_resources checks and navigate to privileged extension pages, potentially leading to Universal XSS.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 6 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 without the Chrome Security team.

Overview: The HaTS dialog incorrectly forwards window.open() requests from its survey renderer to the main browser profile as browser-initiated navigations. This strips the initiator_origin from the navigation parameters. A compromised HaTS renderer can potentially leverage this to bypass web_accessible_resources checks and navigate to internal, privileged extension pages.

Affected files:

  • chrome/browser/ui/views/hats/hats_next_web_dialog.cc

Estimated timestamp from git blame: 2020-10-30

Summary

There is a potential trust-laundering vulnerability in the Happiness Tracking Survey (HaTS) dialog. When the survey renderer (hosted at https://www.google.com) calls window.open(), the request is intercepted by HatsWebView::CreateCustomWebContents. This implementation forwards the request to the user's regular browser profile using improperly initialized OpenURLParams, causing the navigation to appear browser-initiated. This strips the initiator origin, which can bypass extension web_accessible_resources (WAR) policies.

Technical Details

In chrome/browser/ui/views/hats/hats_next_web_dialog.cc, HatsWebView::CreateCustomWebContents handles renderer-initiated window creation to redirect links from the restricted Off-The-Record (OTR) HaTS profile into the regular browser.

When it constructs content::OpenURLParams, it explicitly sets is_renderer_initiated to false and leaves initiator_origin uninitialized (std::nullopt). Because is_renderer_initiated is false, the constructor also implicitly sets user_gesture to true.

When this laundered navigation reaches ExtensionNavigationThrottle::WillStartOrRedirectRequest, it bypasses security checks. The throttle automatically trusts navigations lacking an initiator origin (assuming they are legitimate omnibox or bookmark navigations) via the following check:

C++
if (!navigation_handle()->GetInitiatorOrigin().has_value()) {
  return content::NavigationThrottle::PROCEED;
}

Because the origin was lost during the HaTS laundering, the navigation proceeds, skipping the web_accessible_resources check. Furthermore, because the HaTS WebContents does not have a PopupBlockerTabHelper attached, the renderer can trigger window.open automatically via JavaScript without any user interaction.

Impact

If an attacker gains code execution in the HaTS renderer (e.g., via XSS on the survey page), they can potentially trigger navigations to privileged, non-web-accessible extension pages in the user's regular profile. By appending malicious parameters to the URL, this could be leveraged to achieve Universal XSS (UXSS) in the context of an installed extension.

Potential Steps to Reproduce

(Note: These are suggested steps; our tooling agent does not have the ability to run code or execute a live proof of concept).

  1. An attacker discovers an XSS vulnerability on the Google-hosted HaTS survey page.
  2. The attacker triggers the HaTS dialog for a user.
  3. The injected XSS payload executes window.open('chrome-extension://<target_extension_id>/internal_page.html?xss_payload=...', '_blank'); immediately upon load, bypassing popup blockers.
  4. The internal extension page opens in a new tab in the user's main profile, successfully bypassing WAR restrictions.

Suggested Fix

When constructing OpenURLParams in HatsWebView::CreateCustomWebContents (chrome/browser/ui/views/hats/hats_next_web_dialog.cc), accurately reflect the renderer's involvement:

  1. Set is_renderer_initiated to true.
  2. Set initiator_origin to opener->GetLastCommittedOrigin().
  3. Pass the source_site_instance to the navigation parameters.

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.

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 code that forwards the survey's window.open() call builds the navigation parameters with is_renderer_initiated set to false and no initiator origin, so the extension navigation throttle treats it as a trusted browser-initiated navigation.

Impact

If an attacker gains code execution in the HaTS renderer, they could potentially navigate to privileged extension pages and, by appending malicious parameters, achieve Universal XSS in the context of an installed extension.

What the attacker needed

XSS on the HaTS survey page; victim triggers the HaTS dialog; a target extension with privileged pages

The fix

The code should set is_renderer_initiated to true, set initiator_origin from the opener's last committed origin, and pass the source_site_instance.

How it was found

  1. Find an XSS vulnerability on the Google-hosted HaTS survey page.
  2. Trigger the HaTS dialog for a user.
  3. The injected script calls window.open() to a privileged extension page, bypassing popup blockers.
  4. The internal extension page opens in a new tab in the user's main profile, bypassing web_accessible_resources restrictions.

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 browser extension can mark some of its pages as 'web accessible', meaning any website can link to them. Other pages are meant to be reachable only from inside the extension. This report says a survey pop-up in Chrome can be tricked into opening those protected pages as if the user typed the address, so a malicious survey page could reach them.

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 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.