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

Insufficient validation of untrusted input in Input (CVE-2026-12453)

The browser's input hit-testing trusted a renderer-supplied frame identifier and click coordinates without checking that the frame was a direct child or that the coordinates fell inside the target's real geometry. A compromised renderer could therefore redirect genuine user clicks to arbitrary positions inside a nested cross-origin frame, bypassing clickjacking protections.

Google Chrome

Originally disclosed on Chrome VRP

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

Overview: RenderWidgetTargeter::FoundFrameSinkId accepts any-depth descendant FrameSinkIds during hit-testing and trusts renderer-supplied coordinates without validation. A compromised renderer could potentially exploit this to redirect genuine user click events to arbitrary coordinates inside a nested cross-origin descendant frame. This bypasses standard clickjacking protections because the target frame's actual screen bounds remain unchanged.

Affected files:

  • components/input/render_widget_targeter.cc
  • components/input/render_widget_host_input_event_router.cc
  • components/input/render_widget_host_view_input.cc

Estimated timestamp from git blame: 2017-12-23

Description

During input event hit-testing, RenderWidgetTargeter::FoundFrameSinkId receives a target FrameSinkId and a transformed_location from the queried renderer (which may be a compromised renderer process).

There are two primary concerns with how the browser validates and processes this response:

1. Any-Depth Descendant Acceptance

The delegate validation inside RenderWidgetHostInputEventRouter::FindViewFromFrameSinkId uses IsAncestorView to verify that the returned view is a descendant of the queried target:

C++
if (view && ancestor_to_verify && view != ancestor_to_verify &&
    !RenderWidgetHostViewInput::IsAncestorView(view, ancestor_to_verify)) {
  return nullptr;
}

Because IsAncestorView (defined in components/input/render_widget_host_view_input.cc) recursively walks up the parent view chain to any depth, it accepts nested grandchild views. This allows a compromised renderer to bypass intermediate honest frames and target a nested grandchild frame directly.

2. Unvalidated and Unclamped Coordinates

The browser process trusts the renderer-supplied transformed_location coordinate mapping directly without clamping or verifying it against the target's actual geometry:

C++
gfx::PointF final_location =
    resolved_view ? transformed_location : target_location;

During event dispatch in RenderWidgetHostInputEventRouter::DispatchMouseEvent, the original event coordinates are overwritten with the untrusted target_location:

C++
blink::WebMouseEvent event = mouse_event;
event.SetPositionInWidget(target_location->x(), target_location->y());
...
target->ProcessMouseEvent(event, latency);

No verification is performed in the browser process to check if the original click coordinate actually intersects the target frame's screen geometry, or if the transformed coordinates are within the legitimate clip bounds of the target view.

Potential Attack Scenario

If an attacker has compromised a renderer hosting a page that embeds a cross-origin victim frame, they could potentially perform precise clickjacking:

  1. A user clicks anywhere inside the attacker's frame.
  2. The browser queries the attacker's renderer for the hit target via Mojo FrameSinkIdAt.
  3. The compromised renderer responds with the FrameSinkId of a deep descendant frame and arbitrary, attacker-chosen coordinates representing a sensitive element within that target frame (even if those coordinates are scrolled/clipped out of view or hidden).
  4. The browser dispatches the genuine user gesture click to the descendant frame at the attacker's chosen coordinates.

Because the target frame's actual screen bounds did not move, clickjacking mitigations such as the kTargetFrameMovedRecently flag (checked via ScreenRectIsUnstableFor()) are not triggered.

Note: These are potential steps derived from static code analysis. Our tooling does not currently have the capability to run code or dynamically verify this vulnerability with a proof-of-concept.

Suggested Fix

  1. Enforce that the returned FrameSinkId must correspond to either the queried view itself or a direct, immediately embedded child view rather than permitting any-depth descendants.
  2. Clamp or validate the renderer-supplied coordinates to ensure they lie within the legitimate geometry or clip bounds of the resolved target view before updating and dispatching the input event.

Evaluated with Chrome root at commit: a2bea94528f4bd6cc57739c43fa3bb890b8367d3


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 browser validated the returned view only as any-depth descendant and never clamped or checked the renderer-supplied coordinates against the target's geometry or clip bounds.

Impact

A compromised renderer could redirect real user clicks to hidden elements in a nested cross-origin frame, and the usual clickjacking check would not fire because the target's screen bounds did not move; the report is static analysis only and was not verified with a proof-of-concept.

What the attacker needed

Attacker controls a renderer process; victim clicks inside attacker's frame; victim frame embedded cross-origin

The fix

It should be fixed by only accepting the queried view or a direct child, and by clamping or validating the supplied coordinates against the target's geometry before dispatch.

How it was found

  1. A user clicks inside the attacker's frame.
  2. The browser asks the attacker's renderer for the hit target.
  3. The renderer replies with a deep descendant frame and chosen coordinates.
  4. The browser dispatches the genuine click to that frame at those coordinates.

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, the browser asks the page's rendering process which frame and spot you hit. This report says the browser believed that answer too readily: it accepted a deeply nested frame and any coordinates, even ones outside what is visible. A malicious rendering process could then send your real click to a hidden button in someone else's embedded page.

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.