Inappropriate implementation in WebProtect (CVE-2026-17765)
A logic flaw in how Enterprise Data Protection evaluates and caches clipboard paste requests could allow a compromised cross-origin subframe to exfiltrate sensitive clipboard data. The vulnerability relies on three interconnected issues where frame-specific attribution is lost in the browser process.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 months
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: A compromised cross-origin subframe can potentially steal Enterprise Data Protection (DLP) protected clipboard data. This occurs due to improper request coalescing, where a subframe's clipboard read request is incorrectly merged with a main frame's pending paste request, bypassing frame-specific interaction and attribution checks.
Affected files:
chrome/browser/enterprise/data_protection/paste_allowed_request.ccchrome/browser/chrome_content_browser_client.cccontent/public/browser/clipboard_types.ccchrome/browser/enterprise/data_protection/data_protection_clipboard_utils.cccontent/browser/renderer_host/clipboard_host_impl.ccchrome/browser/enterprise/data_controls/desktop_data_controls_dialog.h
Estimated timestamp from git blame: 2026-04-16
Summary
A logic flaw in how Enterprise Data Protection evaluates and caches clipboard paste requests could allow a compromised cross-origin subframe to exfiltrate sensitive clipboard data. The vulnerability relies on three interconnected issues where frame-specific attribution is lost in the browser process.
Vulnerability Details
- Improper Cache Keying in
PasteAllowedRequest: Inchrome/browser/enterprise/data_protection/paste_allowed_request.cc,StartPasteAllowedRequestcaches requests using theGlobalIdof thePrimaryMainFramerather than theRenderFrameHostinitiating the request. This causes requests from cross-origin subframes to be improperly coalesced with requests from the main frame. - Broad Interaction Check:
ChromeContentBrowserClient::IsClipboardPasteAllowedvalidates clipboard access by checkingWebContents::HasRecentInteraction(). Because this check is scoped to the entireWebContents, an interaction in the main frame grants a 5-second window where any subframe can bypass this check via direct Mojo IPCs. - Incorrect Destination Attribution: When evaluating DLP policy,
CreateDataEndpoint(content/public/browser/clipboard_types.cc) constructs the destination endpoint using the main frame's URL (rfh.GetMainFrame()->GetLastCommittedURL()), causing subframe requests to be incorrectly evaluated under the trusted main frame's policy identity.
Potential Attack Scenario
Note: These are suggested steps; we have not verified them with a working proof-of-concept.
- Setup: An attacker compromises the renderer process of a cross-origin iframe embedded in a trusted main page.
- Precondition: The user copies sensitive data protected by an Enterprise Data Protection policy. The browser places a placeholder on the OS clipboard and stashes the original data in
LastReplacedClipboardData. - User Action: The user focuses the trusted main frame and presses
Ctrl+V. This records an interaction on theWebContents. - Dialog Trigger: The paste violates a "Warn" DLP rule, suspending the paste and showing a warning dialog to the user.
- Exploitation: While the dialog is visible, the compromised subframe sends a
ClipboardHost.ReadTextMojo IPC directly to the browser process. - Bypass: The request passes the
HasRecentInteraction()check due to the user's recentCtrl+Vin the main frame. The request is attributed to the main frame's URL and coalesced into the main frame's pendingPasteAllowedRequest. - Exfiltration: The user clicks "Paste anyway" on the dialog. The DLP logic restores the sensitive data and calls
PasteAllowedRequest::InvokeCallbacks(), which broadcasts the protected data to all queued callbacks, including the attacker's subframe.
Suggested Fixes
PasteAllowedRequest::StartPasteAllowedRequest: Key theRequestsMapStorageusing theGlobalIdof the specificRenderFrameHostmaking the request, not the primary main frame.CreateDataEndpoint: Construct theDataTransferEndpointusing the URL of the specificRenderFrameHost, not its main frame.ChromeContentBrowserClient::IsClipboardPasteAllowed: Consider restricting the interaction check to the specificRenderFrameHost(e.g., requiring transient user activation on the frame itself) rather than relying onWebContents::HasRecentInteraction().
(Secondary Finding: In chrome/browser/enterprise/data_controls/desktop_data_controls_dialog.h, the member scoped_ignore_input_events_ is declared but its implementation is missing/unused, suggesting input suppression during the dialog might be inactive.)
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.
Raised in root component due to access or custom field issues on 1208119
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 process keys clipboard paste requests and destination policy checks by the main frame rather than the specific frame making the request, so subframe requests are coalesced with and attributed to the main frame.
Impact
A compromised cross-origin subframe could exfiltrate clipboard data protected by an Enterprise Data Protection policy, though the report notes the steps were suggested and not verified with a working proof-of-concept.
What the attacker needed
Compromised cross-origin subframe renderer; DLP policy protecting clipboard data; user copies protected data; user pastes in the main frame
The fix
The report suggests keying paste requests and destination endpoints by the specific RenderFrameHost and restricting the interaction check to that frame, but does not say it was fixed.
How it was found
- An attacker compromises the renderer process of a cross-origin iframe embedded in a trusted main page.
- The user copies sensitive data protected by an Enterprise Data Protection policy, so the browser places a placeholder on the OS clipboard and stashes the original data.
- The user focuses the trusted main frame and presses Ctrl+V, recording an interaction on the WebContents.
- The paste violates a Warn DLP rule, suspending the paste and showing a warning dialog.
- While the dialog is visible, the compromised subframe sends a ClipboardHost.ReadText Mojo IPC directly to the browser process.
- The request passes the interaction check, is attributed to the main frame's URL and coalesced into the pending request; when the user clicks Paste anyway, the protected data is broadcast to all queued callbacks including the attacker's…
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 copy something, the browser can hold it back and ask you before letting a website paste it. This report says a malicious part of a page could sneak its request in alongside a legitimate one, so when you approve the paste, the secret data also goes to the attacker's part of the page.
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.