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

Missing authorization in Input (CVE-2026-113290)

A compromised cross-origin subframe can create an invisible popup widget that is parented to the top-level main frame without origin checks. The main frame's input handler then forwards all keyboard events to the attacker-controlled popup, allowing keystroke interception and bypassing Site Isolation.

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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A compromised cross-origin subframe (OOPIF) can potentially intercept keystrokes intended for the top-level main frame on Aura platforms. This occurs because the browser unconditionally parents popup widgets created by subframes to the outermost main frame's view without origin checks. Consequently, the main frame's input handler forwards all keyboard events to the attacker-controlled popup, bypassing Site Isolation.

Affected files:

  • content/browser/renderer_host/render_widget_host_view_event_handler.cc
  • content/browser/renderer_host/render_widget_host_view_aura.cc
  • content/browser/web_contents/web_contents_impl.cc
  • content/browser/renderer_host/render_frame_host_impl.cc

Estimated timestamp from git blame: 2024-04-26

Description

A logic flaw in how the browser process handles popup widget creation on Aura platforms (Windows, ChromeOS, Linux) can lead to a Site Isolation bypass. A compromised subframe renderer can create an invisible popup widget that intercepts all keystrokes typed into the cross-origin top-level parent page.

The vulnerability stems from the following chain of events:

  1. Missing Origin and Activation Checks: When a renderer sends the blink.mojom.LocalFrameHost::CreateNewPopupWidget IPC, RenderFrameHostImpl::CreateNewPopupWidget only verifies if the requesting frame is active. It does not enforce user activation (transient or sticky), nor does it check if the frame is a top-level main frame.
  2. Cross-Origin Parenting: When the attacker subsequently calls ShowPopup via IPC, WebContentsImpl::ShowCreatedWidget identifies the parent view by calling GetOutermostWebContents()->GetRenderWidgetHostView(). This unconditionally retrieves the top-level main frame's view. InitAsPopup is then called, parenting the attacker's popup to the main frame without any SiteInstance or origin boundary validation.
  3. Bypassed Dismissal: The popup dismissal logic in RenderWidgetHostViewAura::ApplyEventObserverForPopupExit explicitly ignores clicks targeting the parent window (target != popup_parent_host_view_->window_ evaluates to false). If the user clicks an input field in the main frame, the invisible popup remains active.
  4. Unconditional Input Forwarding: When the user types into the main frame, RenderWidgetHostViewEventHandler::OnKeyEvent checks NeedsInputGrab(popup_child_host_view_), which returns true for kPopup widgets. The browser unconditionally forwards the ui::KeyEvent to the popup's event handler, routing the keystrokes to the attacker-controlled renderer process instead of the main frame.

Potential Reproduction Steps

Note: Our tooling agent does not have the ability to run code, so these are suggested steps based on static code analysis.

  1. An attacker compromises the renderer process of a cross-origin Site Isolated subframe (e.g., evil.com embedded in victim.com).
  2. The compromised renderer uses the blink.mojom.LocalFrameHost interface to send a CreateNewPopupWidget IPC to the browser process.
  3. The attacker sends the blink.mojom.PopupWidgetHost::ShowPopup IPC, specifying a 1x1 invisible geometry placed anywhere on the screen.
  4. The victim clicks on a sensitive input field (e.g., a password field) in the top-level victim.com frame. The click does not dismiss the popup because the dismissal logic ignores clicks on the parent window.
  5. The victim types into the field. Every keystroke is routed by the browser's input handler directly to the evil.com renderer process, allowing the attacker to exfiltrate the data.

Suggested Fix

There are a few potential avenues to address this:

  1. Restrict Popup Creation: Modify RenderFrameHostImpl::CreateNewPopupWidget to enforce strict user activation checks, or restrict it so that only top-level frames (or frames with specific permissions) can create kPopup widgets.
  2. Validate Origin During Parenting: In WebContentsImpl::ShowCreatedWidget, verify that the SiteInstance or origin of the frame requesting the popup matches the SiteInstance of the view it is being parented to. If they do not match, the creation or parenting should be blocked.
  3. Parent to the Requesting Frame: Instead of unconditionally using GetOutermostWebContents()->GetRenderWidgetHostView(), parent the popup to the specific RenderWidgetHostView of the frame that initiated the request, ensuring events are routed within the correct process boundaries.

Evaluated with Chrome root at commit: 3acbde3302da0cb19488c22c0eb007c791207b4b


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 browser does not check the origin or user activation when a subframe creates a popup widget, and it unconditionally parents the popup to the top-level frame's view, causing keyboard events to be forwarded to the popup.

Impact

A compromised subframe could intercept all keystrokes typed into the top-level page, bypassing Site Isolation, but the report notes this is based on static analysis and may be a false positive.

What the attacker needed

Attacker compromises a cross-origin subframe renderer; victim clicks an input field in the top-level page; victim types into that field

The fix

The browser should enforce user activation and origin checks when creating popups, validate the SiteInstance during parenting, or parent the popup to the requesting frame's view.

How it was found

  1. An attacker compromises the renderer process of a cross-origin Site Isolated subframe embedded in a victim page.
  2. The compromised renderer sends a CreateNewPopupWidget IPC to the browser process.
  3. The attacker sends a ShowPopup IPC specifying a 1x1 invisible geometry.
  4. The victim clicks on a sensitive input field in the top-level frame; the click does not dismiss the popup.
  5. The victim types into the field, and every keystroke is routed to the attacker's renderer process.

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 website can contain content from another site in a frame. Normally, the browser keeps these separate so one site cannot read what you type into another. Here, a malicious frame could create a hidden popup that steals your keystrokes when you type into the main page.

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.