Skip to content
UI spoofing Advisory Intermediate CVE-2025-13107

Inappropriate implementation in Compositing (CVE-2025-13107)

A CSS rendering flaw in Chromium's compositing lets styles applied to a parent element bleed into the <permission> element, visually covering its text. A malicious site could use this to disguise a permission prompt so users are tricked into triggering it, though the prompt itself is not bypassed.

Hafiizh Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 2 months

This bug is similar to https://issues.chromium.org/issues/398803201, https://issues.chromium.org/issues/423670839, https://issues.chromium.org/issues/428455319, https://issues.chromium.org/issues/429270814

when -webkit-text-stroke-width: thick;font-weight: bolder; are embedded in a tag above the <permission> tag, for example a div or something else, this affects the <permission> tag, thus covering the text in the <permission> tag. if style -webkit-text-stroke-width: thick;font-weight: bolder; embedded directly in the <permission> tag are not affected. The impact is that sites can potentially trick users to trigger permission prompts even if the permission is currently in a DENY state for that origin. (It does not however bypass the permission prompt in any way)

references for some css that can and cannot be embedded in the <permission> tag: https://developer.chrome.com/blog/permission-element-origin-trial?hl=en

The original report as published on the Chromium issue tracker, by Hafiizh. 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 a compositing bug where inherited text-stroke and font-weight styles from an ancestor element are painted over the permission element's own content instead of being isolated.

Impact

A site could trick users into triggering a permission prompt that is visually obscured, even when the permission is in a DENY state for that origin, but the prompt itself is not bypassed.

What the attacker needed

Victim visits a malicious page; browser supports the permission element

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.

Web pages can ask the browser for permissions, such as access to the camera, using a special element that shows a prompt. A styling bug meant that text placed over that element could hide what the prompt actually says. That means a user might approve something without realising what they are approving, although they still have to click the prompt themselves.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by Hafiizh

View all

78 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.