Skip to content
Access control Advisory Advanced CVE-2026-87594

Incorrect authorization in DataTransfer (CVE-2026-87594)

The browser-side clipboard permission check does not verify that the requesting frame is focused or visible when persistent clipboard permission is granted. A compromised renderer could therefore read the system clipboard in the background without user interaction.

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

Overview: A potential vulnerability in Chrome's browser-side clipboard validation logic allows a compromised background renderer to silently read the OS clipboard if persistent clipboard permission was previously granted. While renderer-side checks require page focus, the browser-side security recheck does not validate document focus or visibility when verifying the permission status. This enables a background renderer to exfiltrate sensitive clipboard data without any active window interaction.

Affected files:

  • chrome/browser/chrome_content_browser_client.cc
  • content/browser/renderer_host/clipboard_host_impl.cc

Estimated timestamp from git blame: 2021-02-12

Summary

There is a potential security bypass in the browser-side clipboard permission verification. When a site has been persistently granted the CLIPBOARD_READ_WRITE permission, the browser-side validation in ChromeContentBrowserClient::IsClipboardPasteAllowed fails to check if the requesting frame has document focus or is visible. This allows a compromised renderer process to silently exfiltrate the system clipboard in the background, bypassing the renderer-side focus constraints enforced by Blink.

Root Cause Analysis

In third_party/blink/renderer/modules/clipboard/clipboard_promise.cc (line 661), the renderer-side API strictly enforces document focus before allowing a clipboard read request to proceed:

C++
if (!window.document()->hasFocus()) {
  script_promise_resolver_->RejectWithDOMException(
      DOMExceptionCode::kNotAllowedError, "Document is not focused.");
  return;
}

However, a compromised renderer can bypass Blink's checks and communicate directly with the browser process via the blink::mojom::ClipboardHost Mojo interface.

When the browser process receives a request such as ReadText in content/browser/renderer_host/clipboard_host_impl.cc (line 231), it performs a security recheck by calling IsRendererPasteAllowed (line 662), which delegates to:

C++
GetContentClient()->browser()->IsClipboardPasteAllowed(&render_frame_host);

The implementation of IsClipboardPasteAllowed in chrome/browser/chrome_content_browser_client.cc (lines 7935-7958) checks:

  1. User activation via WebContentsImpl::HasRecentInteraction() (returns false if the page is in the background and has not been interacted with recently).
  2. The persistent clipboard permission status:
C++
blink::mojom::PermissionStatus status =
    permission_controller->GetPermissionStatusForCurrentDocument(
        content::PermissionDescriptorUtil::
            CreatePermissionDescriptorForPermissionType(
                blink::PermissionType::CLIPBOARD_READ_WRITE),
        render_frame_host);
if (status == blink::mojom::PermissionStatus::GRANTED) {
  return true; // <-- Focus/visibility is not verified here!
}

If the permission is GRANTED (e.g., the user previously permitted the origin to access the clipboard), the browser-side check returns true unconditionally. Neither ClipboardHostImpl nor ChromeContentBrowserClient validates that the requesting RenderFrameHost is focused or currently visible.

Potential Attack Steps

(Note: As our tooling agent does not have the ability to run code, these are potential trigger steps.)

  1. The user visits an origin (e.g., https://example.com) and persistently grants the clipboard read/write permission (via the standard permission prompt).
  2. The renderer process for https://example.com is compromised via an independent renderer exploit, giving the attacker arbitrary code execution within the sandbox.
  3. The user switches to a different tab or minimizes the browser window, leaving the attacker's tab backgrounded and unfocused.
  4. The compromised renderer makes a direct Mojo IPC call to blink::mojom::ClipboardHost::ReadText bypassing Blink's renderer-side checks.
  5. In the browser process, ClipboardHostImpl queries IsClipboardPasteAllowed.
  6. Since the origin has persistent permission, IsClipboardPasteAllowed evaluates to true despite the tab being unfocused and invisible.
  7. The browser process reads the live system clipboard contents and returns them over Mojo to the compromised renderer in the background.

Suggested Fix

Modify ChromeContentBrowserClient::IsClipboardPasteAllowed to ensure that when authorizing paste operations based on the persistent permission status branch (rather than the user activation branch), the requesting frame's visibility status or document focus is validated. For example, verify that the frame is visible:

C++
if (status == blink::mojom::PermissionStatus::GRANTED) {
  return render_frame_host->GetVisibilityState() == content::PageVisibilityState::kVisible;
}

Alternatively, enforce that the requesting frame is the focused frame in the active tab.

Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379


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-side permission check returns true for a granted persistent clipboard permission without verifying that the requesting frame is focused or visible.

Impact

A compromised renderer could silently read the system clipboard in the background, but only if the user had already granted persistent clipboard permission and the renderer was compromised by a separate exploit.

What the attacker needed

Persistent clipboard permission granted; compromised renderer process; tab backgrounded or unfocused

The fix

The browser-side permission check should also verify that the requesting frame is visible or focused before allowing clipboard reads based on persistent permission.

How it was found

  1. The user visits an origin and persistently grants the clipboard read/write permission.
  2. The renderer process for that origin is compromised via an independent renderer exploit.
  3. The user switches to a different tab or minimises the browser window.
  4. The compromised renderer makes a direct Mojo IPC call to read the clipboard, bypassing Blink's renderer-side checks.
  5. The browser process queries IsClipboardPasteAllowed, which returns true because the origin has persistent permission.
  6. The browser process reads the live system clipboard and returns it to the compromised renderer.

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 a website asks to read your clipboard, the browser normally checks that the page is active and focused. This report says that if you previously gave a site permanent clipboard permission, the browser forgets to check focus, so a hacked page could read your clipboard even while you are using another tab.

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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.