Insufficient validation of untrusted input in Blink (CVE-2026-13959)
Blink's TouchEvent and WheelEvent preventDefault() route intervention reports to the frame named in the event's view property without checking trust or origin, so a script-created event can point at a cross-origin window. An attacker could then write attacker-controlled data into the victim frame's console, ReportingObserver callbacks and reporting telemetry.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 47 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: A logic flaw in Blink's event handling allows an attacker to inject unauthorized intervention reports and console messages into a same-process cross-origin frame. This occurs because intervention attribution relies on the event's 'view' property, which can be programmatically set to a victim window.
Affected files:
third_party/blink/renderer/core/events/touch_event.ccthird_party/blink/renderer/core/events/wheel_event.cc
Estimated timestamp from git blame: 2017-09-21
Description
A potential vulnerability in Blink allows an attacker-controlled frame to perform unauthorized writes to a victim's console and telemetry systems. This is possible because TouchEvent::preventDefault() and WheelEvent::preventDefault() route intervention information to the frame specified in the event's view property without verifying if the event is trusted or if the caller has security access to that frame.
When a TouchEvent or WheelEvent is created via its JavaScript constructor, the view property can be set to any Window object the caller has a reference to, including cross-origin windows in the same renderer process (e.g., same-site frames or on platforms like Android where Site Isolation is not universal). Because the bindings for the initializer dictionary (UIEventInit) do not perform a security check, a pointer to the victim's LocalDOMWindow is stored in the event.
If the attacker calls preventDefault() on this script-generated event (for instance, by setting cancelable: false), Blink attempts to generate an intervention report. It uses the stored view pointer to identify the target frame but captures the current JavaScript execution stack—which belongs to the attacker—to populate the report's metadata (e.g., sourceFile).
Potential Impact
- Reporting API Poisoning: An attacker can trigger POST requests to the victim's
Reporting-Endpoints. By using script directives like//# sourceURL, the attacker can control thesourceFilefield in the report, injecting arbitrary data into the victim's server-side telemetry. - Console Injection: High-severity intervention messages are injected into the victim's DevTools console.
- ReportingObserver Injection: The victim's
ReportingObservercallbacks are triggered with attacker-controlled data. - Metrics Pollution: Blink's
UseCountermetrics (e.g.,kTouchEventPreventedNoTouchAction) are incorrectly attributed to the victim frame.
This constitutes a write-only Same-Origin Policy (SOP) bypass.
Suggested Attack Steps
- The attacker embeds a same-site cross-origin victim (e.g., attacker at
a.example.comand victim atb.example.com). - The attacker executes a script with a specific
sourceURLpayload://# sourceURL=https://attacker.com/payload. - The attacker constructs a
TouchEventtargeting the victim window:new TouchEvent('touchstart', { view: victimWindow, cancelable: false }). - The attacker calls
preventDefault()on this event object. - Observe the intervention report and console error appearing in the victim frame's context.
Suggested Fix
In third_party/blink/renderer/core/events/touch_event.cc and third_party/blink/renderer/core/events/wheel_event.cc, Blink should verify that the event isTrusted() before generating an intervention report in preventDefault(). Alternatively, a security check should be performed to ensure the current execution context is same-origin with the view() frame before routing the report.
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
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.
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, preventDefault() on script-created TouchEvent and WheelEvent objects uses the caller-supplied view window to attribute intervention reports without checking isTrusted() or same-origin access.
Impact
An attacker could poison the victim's Reporting API endpoints, inject console messages, trigger ReportingObserver callbacks and pollute UseCounter metrics, but only for same-process cross-origin frames such as same-site frames or platforms without universal Site Isolation.
What the attacker needed
Attacker and victim are same-site cross-origin frames; both frames share one renderer process; attacker holds a reference to the victim window
The fix
Blink should check that the event isTrusted() before generating an intervention report, or verify that the current execution context is same-origin with the view() frame.
How it was found
- Embed a same-site cross-origin victim frame.
- Run a script that sets a sourceURL directive.
- Create a TouchEvent whose view is the victim window and which is not cancelable.
- Call preventDefault() on that event.
- Observe the intervention report and console error in the victim frame.
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.
Browsers keep pages from different websites apart so one site cannot read or change another's data. Here, a page could make the browser send warning messages and reports into a different site's frame, because the browser trusted a field the page itself could set. The attacker cannot read anything back, but they can put their own text into the other site's logs.
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.