Skip to content
Business logic Advisory Advanced CVE-2026-9110

Inappropriate implementation in UI (CVE-2026-9110)

The reentrancy protection in the Windows drag-and-drop client uses a per-instance flag, so a second browser window can start a nested drag while the first is still active. A compromised renderer could then move the cursor and drop a payload at a chosen location, potentially leading to UXSS or RCE.

Google Chrome

Originally disclosed on Chrome VRP

Critical View original
  • Fix shipped in 30 days

Flapjack, 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 go/chrome-ai-generated-security-bugs-faq for more information.

Overview: The reentrancy protection in DesktopDragDropClientWin is incomplete because it relies on a per-instance flag, allowing multiple windows to bypass the check. An attacker can use a second window to trigger a nested drag operation, manipulate the OS cursor, and perform unauthorized drops. This allows a compromised renderer to drop arbitrary payloads at sensitive locations, potentially leading to UXSS or RCE.

Affected files:

  • ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc
  • ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h
  • ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
  • content/browser/web_contents/web_contents_view_aura.cc

Estimated timestamp from git blame: 2026-04-03

Vulnerability Description

A potential vulnerability exists in the Windows drag-and-drop implementation where the protection against reentrancy can be bypassed using multiple browser windows.

While DesktopDragDropClientWin::StartDragAndDrop attempts to prevent nested drag loops using CHECK(!drag_drop_in_progress_), drag_drop_in_progress_ is an instance variable. Because DesktopWindowTreeHostWin creates a unique DesktopDragDropClientWin instance for each window, the check fails to prevent a second window on the same UI thread from initiating a drag operation while the first is still active.

Furthermore, WebContentsViewAura::StartDragging instantiates a ScopedAllowApplicationTasksInNativeNestedLoop. This allows Mojo IPCs (such as new StartDragging requests) to be handled while the UI thread is blocked inside the system-modal ::DoDragDrop loop.

Potential Exploit Scenario

While we do not have a working Proof of Concept, the following sequence demonstrates how a compromised renderer could exploit this:

  1. Setup: A compromised renderer opens two windows: a small foreground popup (W1) and a large background window (W2) whose bounds encompass an attacker-chosen sensitive drop target (P_victim).
  2. Initial Drag: The user is tricked into initiating a touch-based drag on W1. aura::Env::GetInstance()->SetTouchDown(true) is called.
  3. W1 Loop: W1's renderer sends a StartDragging IPC. The browser calls DesktopDragDropClientWin::StartDragAndDrop. W1 passes the CHECK(!drag_drop_in_progress_), sets its flag, and enters the blocking ::DoDragDrop loop.
  4. Cursor Shift: While the browser UI thread is blocked in DoDragDrop, W1's renderer uses JavaScript (window.moveTo()) to move W1 off-screen. The physical touch point (and OS cursor) is now hovering over W2.
  5. Malicious Nested Drag: W2's renderer sends a second StartDragging IPC, specifying kTouch as the source and P_victim as the location.
  6. Reentrancy: Because of the ScopedAllowApplicationTasksInNativeNestedLoop applied during W1's drag, the UI thread pulls W2's IPC and executes it.
  7. Bypass: W2 calls DesktopDragDropClientWin::StartDragAndDrop. Because W2 is a different instance than W1, its drag_drop_in_progress_ flag is false, bypassing the CHECK.
  8. Cursor Hijacking: W2 verifies the touch state (which is still true from step 2) and that the cursor is over itself (true from step 4). It then calls StartTouchDrag(P_victim). This method invokes ui::SendMouseEvent, which uses the Windows ::SendInput API to forcibly teleport the OS cursor to P_victim and simulate a LEFTDOWN event.
  9. Artificial Release: W2 sets its flag and calls ::DoDragDrop. Windows OLE rejects the nested loop immediately. W2 proceeds to cleanup, calling FinishTouchDrag, which uses ::SendInput to simulate a LEFTUP event at P_victim.
  10. Malicious Drop: W2's execution finishes. The UI thread unwinds back to W1's active ::DoDragDrop loop. W1 processes the synthetic LEFTUP event injected by W2 and drops W1's malicious payload exactly at P_victim.

Impact

This sequence allows an attacker to achieve the same impact as previously identified reentrancy vulnerabilities: UI spoofing, saving malicious bookmarklets (UXSS), or dropping arbitrary files onto overlapping native applications (RCE).

Suggested Fix

  1. Global Flag: The drag_drop_in_progress_ flag in DesktopDragDropClientWin should be made a thread-local or static variable to ensure that no two instances can initiate a drag operation simultaneously on the same thread.
  2. Remove IPC Processing: Investigate if the ScopedAllowApplicationTasksInNativeNestedLoop in WebContentsViewAura::StartDragging can be removed. Preventing IPC processing during the drag-and-drop loop eliminates the root cause of this reentrancy class.

Evaluated with Chrome root at commit: c0eb5541aebfa4ea08806eaf6e94bcc69f87ab2f


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 reentrancy guard is an instance variable rather than a global or thread-local flag, and the drag loop allows new IPC messages to be processed, so a second window can enter the drag code while the first is still inside the blocking system drag loop.

Impact

This could allow UI spoofing, saving malicious bookmarklets (UXSS), or dropping arbitrary files onto overlapping native applications (RCE), though no working proof of concept was demonstrated.

What the attacker needed

Compromised renderer; user tricked into starting a drag; two browser windows

The fix

The reentrancy flag should be made thread-local or static, and processing of IPC messages during the native drag loop should be removed if possible.

How it was found

  1. A compromised renderer opens two windows: a small foreground popup and a large background window covering a sensitive drop target.
  2. The user is tricked into starting a touch-based drag on the small window, which enters the blocking system drag loop.
  3. While the UI thread is blocked, the small window's renderer moves it off-screen using JavaScript, so the cursor now hovers over the large window.
  4. The large window's renderer sends a second drag request, which is processed because the UI thread allows application tasks during the nested loop.
  5. The large window's drag client bypasses the per-instance reentrancy check, verifies the touch state and cursor position, and uses system input APIs to move the cursor and simulate a mouse-down event.
  6. The large window's drag loop is rejected by the OS, but its cleanup simulates a mouse-up event at the target, which the first window's still-active drag loop processes as a drop.

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.

Drag and drop lets you move files or links by holding the mouse button. The browser tries to stop a second drag from starting while one is already happening, but it only checks per window, not across all windows. A malicious page could open a second window and sneak in another drag, then trick the system into dropping something dangerous where the user did not intend.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.