Insufficient validation of untrusted input in Input (CVE-2026-9979)
The browser's input routing mechanism fails to validate that a hit-test target returned by a renderer belongs to a valid descendant frame. A compromised renderer could redirect user clicks to cross-origin frames within the same tab, bypassing clickjacking protections.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 18 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The browser process relies on the renderer to perform asynchronous hit-testing when synchronous compositor hit-testing is inconclusive. However, the browser fails to validate that the FrameSinkId returned by the renderer belongs to a valid descendant frame. A compromised renderer can exploit this to redirect user input (e.g., clicks) to any cross-origin frame within the same tab at arbitrary coordinates.
Affected files:
components/input/render_widget_targeter.cccomponents/input/render_widget_host_input_event_router.cc
Estimated timestamp from git blame: 2026-01-13
Summary
A potential Site Isolation bypass exists in the browser's input routing mechanism due to insufficient validation of hit-test targets returned by renderer processes. During asynchronous hit-testing, a compromised renderer can supply a forged FrameSinkId and coordinates via Mojo. The browser accepts this response and routes the user's input event to the spoofed target. Because the lookup map (owner_map_) is flat per WebContents, an attacker can redirect legitimate user clicks to cross-origin sibling or ancestor iframes within the same tab, bypassing clickjacking protections.
Vulnerability Details
When the browser's compositor (Viz) encounters a complex visual region (e.g., overlapping elements or complex CSS clip-paths), it cannot synchronously resolve the hit-test target and returns viz::HitTestRegionFlags::kHitTestAsk. This forces the browser to query the suspected renderer process asynchronously.
RenderWidgetTargeter::QueryClientsends anInputTargetClient::FrameSinkIdAtMojo request to the renderer.- The renderer responds with a
viz::FrameSinkIdand atransformed_location(local coordinates). - The browser handles this response in
RenderWidgetTargeter::FoundFrameSinkId, which attempts to resolve theFrameSinkIdto a view by callingdelegate_->FindViewFromFrameSinkId. RenderWidgetHostInputEventRouter::FindViewFromFrameSinkIdperforms a raw lookup inowner_map_. This map contains allRenderWidgetHostViewInputinstances for the entireWebContents(tab).- The Flaw: Neither
FoundFrameSinkIdnorFindViewFromFrameSinkIdverifies that the resolved view is an actual spatial or DOM descendant of the renderer that was queried. - The browser subsequently invokes
FoundTargetandDispatchEventToTarget, which callsDispatchMouseEvent. DispatchMouseEventexplicitly overrides the event's widget coordinates with the attacker-provided location (event.SetPositionInWidget(target_location->x(), target_location->y());) and dispatches the genuine user event to the victim frame.
Since FrameSinkId is composed of a process ID and a sequentially allocated routing ID, it is trivially guessable or enumerable by a compromised renderer.
Impact
A compromised renderer can hijack legitimate user input events (clicks, touches) and redirect them to arbitrary cross-origin frames in the same tab. The attacker controls both the target frame and the exact local coordinates, allowing them to interact with sensitive cross-origin UIs (e.g., clicking "Authorize" buttons or submitting forms) as if they were the user.
Suggested Exploitation Steps (Potential)
Note: Our tooling agent does not have the ability to run code. These are potential steps based on static analysis.
- An attacker compromises a renderer process (e.g., via a separate V8 RCE) and hosts a webpage (
attacker.com). - The page embeds a cross-origin victim iframe (
victim.com). - The attacker applies complex CSS (e.g.,
clip-path) to adivonattacker.comwhere a user is likely to click, ensuring Viz returnskHitTestAsk. - The user clicks the styled
div. - The browser sends a
FrameSinkIdAtMojo query to the compromised renderer. - The attacker intercepts the Mojo request, guesses the
FrameSinkIdof thevictim.comiframe, and returns it along with local coordinates pointing to a sensitive button within the victim frame. - The browser process routes the genuine user click to the
victim.comiframe at the spoofed coordinates.
Suggested Fix
The browser must validate the hierarchy of the returned hit-test target. In RenderWidgetTargeter::FoundFrameSinkId, after resolving the view via FindViewFromFrameSinkId, verify that the returned view is a valid descendant of the originally queried target view. If it is not a descendant (or the target itself), the response should be treated as invalid (e.g., discarded or defaulted back to the queried view).
Evaluated with Chrome root at commit: eca8648a4e1cdfdda68c495a6003059fed641955
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 the browser does not check that the frame sink ID returned by the renderer corresponds to a frame that is a descendant of the one it queried, allowing a compromised renderer to spoof the target.
Impact
A compromised renderer could hijack legitimate user input events and redirect them to arbitrary cross-origin frames in the same tab, allowing interaction with sensitive cross-origin UIs.
What the attacker needed
Compromised renderer process; victim clicks a crafted element
The fix
The browser should validate that the returned hit-test target is a descendant of the originally queried view and discard invalid responses.
How it was found
- An attacker compromises a renderer process and hosts a webpage.
- The page embeds a cross-origin victim iframe.
- The attacker applies complex CSS to a div to force asynchronous hit-testing.
- The user clicks the styled div.
- The browser sends a FrameSinkIdAt Mojo query to the compromised renderer.
- The attacker intercepts the query, guesses the victim iframe's FrameSinkId, and returns it with coordinates pointing to a sensitive button.
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 click on a webpage, the browser asks the part that draws the page where you clicked. This report says a malicious page could lie about that location and send your click to a different website's frame in the same tab, potentially clicking buttons you didn't intend to.
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.