Insufficient policy enforcement in FoldableAPIs (CVE-2026-11234)
A compromised renderer could call DevTools emulation methods on a shared interface to broadcast a spoofed device posture to all cross-origin frames in a tab. This could enable cross-origin UI redressing and covert channels.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A compromised renderer can invoke DevTools emulation methods on the shared DevicePostureProviderImpl to broadcast a spoofed posture to all cross-origin frames in the tab. This allows cross-origin UI redressing and covert channels. Moving these methods to a privileged interface resolves the issue.
Affected files:
content/browser/device_posture/device_posture_provider_impl.cccontent/browser/browser_interface_binders.ccthird_party/blink/public/mojom/device_posture/device_posture_provider.mojomcontent/browser/device_posture/device_posture_provider_impl.h
Estimated timestamp from git blame: 2025-11-25
Final Resolution
The vulnerability requires removing OverrideDevicePostureForEmulation and DisableDevicePostureOverrideForEmulation from the public blink.mojom.DevicePostureProvider interface. DevTools must route emulation commands through a restricted, privileged channel or direct C++ calls to DevicePostureProviderImpl.
Vulnerability Summary
Initial Mojo binding logic in content/browser/browser_interface_binders.cc and the WebContentsUserData singleton scoping of DevicePostureProviderImpl are validated.
The exploit leap occurs during the state mutation and broadcast phase. When any renderer (including a compromised cross-origin subframe) invokes the exposed OverrideDevicePostureForEmulation method, the browser unconditionally executes the global broadcast:
// content/browser/device_posture/device_posture_provider_impl.cc:60
is_posture_emulated_ = true;
for (auto& client : posture_clients_) {
client->OnPostureChanged(emulated_posture);
}
Because posture_clients_ aggregates listeners from all frames across the entire WebContents, this loop forcibly pushes the attacker-controlled posture state (e.g., kFolded) across Site Isolation boundaries directly into victim renderers, triggering authoritative CSS media query shifts.
Potential Attack Steps
Note: These are suggested/potential steps, as our setup does not currently have the ability to run code to produce a working proof of concept.
- Attacker achieves code execution in a subframe renderer process.
- Attacker retrieves the
blink.mojom.DevicePostureProviderremote viaBrowserInterfaceBroker. - Attacker invokes
OverrideDevicePostureForEmulation(DevicePostureType::kFolded). - Victim's top-level or cross-origin frame synchronously receives the event, evaluating
@media(device-posture:folded)to manipulate the target UI or establish a cross-origin covert channel.
Suggested Fix
Remove the DevTools emulation overrides from the renderer-exposed DevicePostureProvider Mojo interface and migrate them to a secure DevTools-specific protocol handler.
Evaluated with Chrome root at commit: 0eb4855bda702feaaa8b899336664f97e3df88b8
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. Please feel free to reach out to me if you have concerns or feedback.
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
The DevTools emulation methods were exposed on a Mojo interface accessible to renderers, and the implementation broadcast the emulated posture to all frames without checking the caller's origin.
Impact
A compromised renderer could spoof device posture across origins, potentially enabling UI redressing and covert channels, though the report notes the attack steps are potential and not yet proven.
What the attacker needed
Compromised renderer process; ability to invoke Mojo interface
The fix
The DevTools emulation overrides should be removed from the renderer-exposed interface and moved to a privileged DevTools-specific channel.
How it was found
- Attacker achieves code execution in a subframe renderer process.
- Attacker retrieves the blink.mojom.DevicePostureProvider remote via BrowserInterfaceBroker.
- Attacker invokes OverrideDevicePostureForEmulation with a folded posture.
- Victim's top-level or cross-origin frame receives the event and evaluates the folded media query.
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.
A renderer is the part of the browser that runs web page code. If an attacker can run their own code in one frame, they could use a special debugging feature to tell other frames that the device is folded, even though it is not. This might trick those other frames into showing a different layout, which could be abused to mislead users or send hidden signals.
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.