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
- 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.ccui/views/widget/desktop_aura/desktop_drag_drop_client_win.hui/views/widget/desktop_aura/desktop_window_tree_host_win.cccontent/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:
- 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). - Initial Drag: The user is tricked into initiating a touch-based drag on W1.
aura::Env::GetInstance()->SetTouchDown(true)is called. - W1 Loop: W1's renderer sends a
StartDraggingIPC. The browser callsDesktopDragDropClientWin::StartDragAndDrop. W1 passes theCHECK(!drag_drop_in_progress_), sets its flag, and enters the blocking::DoDragDroploop. - 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. - Malicious Nested Drag: W2's renderer sends a second
StartDraggingIPC, specifyingkTouchas the source andP_victimas the location. - Reentrancy: Because of the
ScopedAllowApplicationTasksInNativeNestedLoopapplied during W1's drag, the UI thread pulls W2's IPC and executes it. - Bypass: W2 calls
DesktopDragDropClientWin::StartDragAndDrop. Because W2 is a different instance than W1, itsdrag_drop_in_progress_flag is false, bypassing theCHECK. - 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 invokesui::SendMouseEvent, which uses the Windows::SendInputAPI to forcibly teleport the OS cursor toP_victimand simulate aLEFTDOWNevent. - Artificial Release: W2 sets its flag and calls
::DoDragDrop. Windows OLE rejects the nested loop immediately. W2 proceeds to cleanup, callingFinishTouchDrag, which uses::SendInputto simulate aLEFTUPevent atP_victim. - Malicious Drop: W2's execution finishes. The UI thread unwinds back to W1's active
::DoDragDroploop. W1 processes the syntheticLEFTUPevent injected by W2 and drops W1's malicious payload exactly atP_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
- Global Flag: The
drag_drop_in_progress_flag inDesktopDragDropClientWinshould be made a thread-local or static variable to ensure that no two instances can initiate a drag operation simultaneously on the same thread. - Remove IPC Processing: Investigate if the
ScopedAllowApplicationTasksInNativeNestedLoopinWebContentsViewAura::StartDraggingcan 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.
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
- A compromised renderer opens two windows: a small foreground popup and a large background window covering a sensitive drop target.
- The user is tricked into starting a touch-based drag on the small window, which enters the blocking system drag loop.
- 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.
- The large window's renderer sends a second drag request, which is processed because the UI thread allows application tasks during the nested loop.
- 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.
- 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.