Inappropriate implementation in Compositing (CVE-2025-0448)
A rendering flaw in Chromium allowed content from an iframe to be drawn outside its boundaries, specifically a blank select and optgroup element. An attacker could potentially use this to overlay content on other parts of the page, though the report only demonstrates a grey box and does not show a concrete attack.
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Steps to reproduce the problem
- Locate frame_1920x1080.html and src.html to same directory
- Open frame_1920x1080.html, the grey box overflows outside of iframe
Problem Description
Of the iframes placed in 3x3, only the iframe in the middle has src. The content that should only be drawn in this iframe is being drawn outside the iframe. I haven't figured out how to turn a grey box into another shape since I don't know much about CSS, but I think it could be used for a variety of security attacks if it could be.
Not reproducible on chrome 129.0.6668.70
Summary
blank <select> and <optgroup> inside iframe can be drawn outside of iframe
Custom Questions
Reporter credit:
Dahyeon Park
Additional Data
Category: Security
Chrome Channel: Stable
Regression: Yes
What the report shows
The platform files this under Compositing, and the report concerns how iframe content is painted. The researcher, Dahyeon Park, set up a page containing a 3x3 grid of iframes. Only the middle iframe has a src; the surrounding eight are empty. Content that should only be drawn in the middle iframe is drawn outside it, appearing as a grey box.
The reproduction steps are short:
- Locate
frame_1920x1080.htmlandsrc.htmlto same directory - Open
frame_1920x1080.html, the grey box overflows outside of iframe
The summary narrows the trigger to a specific element combination: a blank <select> and <optgroup> inside an iframe can be drawn outside of the iframe. The researcher notes that only the middle iframe has a src, yet content escapes its frame.
The report also records a regression: the behaviour is not reproducible on Chrome 129.0.6668.70, so it appeared in a later build. The researcher adds that they had not worked out how to turn the grey box into another shape, citing limited CSS knowledge, and suggests that if the shape could be controlled it might support a variety of security attacks. That is a hedge, not a demonstrated attack.
The platform records this as CVE-2025-0448, an inappropriate implementation in Compositing, rated low severity, disclosed on 14 January 2025, with a bounty of 1000.00 USD. The report itself does not describe the fix.
Root cause
The report describes a rendering overflow, not script execution.: a blank <select> with an <optgroup> inside an iframe is composited in a way that lets its painted output extend past the iframe's clip. The report does not identify the cause; it only records the observed overflow. The report does not identify the specific code path.
Impact
The demonstrated effect is visual: content from inside an iframe appears outside it. The researcher explicitly says they had not managed to change the shape of the grey box, and only speculates that a controllable shape could be used for security attacks. No clickjacking, data theft or script execution is shown. The platform rates it low severity.
How this kind of bug works
Browsers split painting into layers and composite them, often on the GPU. Each iframe establishes a boundary that content should not cross: the parent page must not show pixels that belong to the child's document outside the child's box, because that breaks the isolation the frame is supposed to provide. When a layer is promoted (for example for a form control, a transform, or an animation) and the clip that should constrain it is lost or applied to the wrong layer, the composited output can spill outside its container.
The bug class is a rendering or compositing isolation failure. It is not a memory-safety issue and not a script-context escape by itself. The interesting question for a hunter is whether the spilled content can be shaped, positioned and made to overlay something security-relevant, such as a button or a permission prompt, or whether it can leak information about the framed document. Defences are structural: correct clip propagation to composited layers, and tests that compare rendered output against the expected frame boundary.
How to test for it
A general method for this class:
- Build a page with a grid of iframes, giving only one of them a
srcand leaving the rest empty, so any stray paint is easy to attribute. - Inside the framed document, place form controls and other elements that are known to trigger layer promotion: selects, option groups, transforms, filters, animations, fixed positioning.
- Vary the combination of blank versus populated controls, and vary the iframe size and position.
- Compare rendering across browser versions, since regressions in compositing often appear in one channel and not another.
- Take screenshots and diff them against a build where the behaviour is absent.
A positive result is content from the child document visibly painted outside the iframe rectangle, reproducibly, with a minimal page. Common false positives are ordinary CSS overflow that the page author intended, elements deliberately positioned outside the frame by the parent, and screenshot artefacts from device pixel ratio or zoom. Confirm by isolating a single control and checking that removing it removes the overflow.
How it is fixed
Fixes for this class usually correct clip propagation so that a promoted layer inherits the iframe's clip, or stop promoting the offending control into a layer that escapes the boundary. Regression tests then render the minimal case and assert that nothing is painted outside the frame. The report does not state which fix was applied here.
Hunting notes
Compositing bugs tend to hide where layer promotion meets clipping: form controls, scrollable regions, transforms, filters, and content inside iframes or shadow roots. Recon signals include recent changes to compositing or paint code, regressions noted between adjacent Chrome versions, and controls that render differently when blank versus populated. To make a report land, reduce to a minimal page, state the exact browser version where it reproduces and where it does not, and be honest about impact: a visual overflow alone is weak, so show whether the spilled content can be shaped or positioned over something that matters before claiming a security consequence.
What happened, in plain words
This report is about Google Chrome, the browser, and specifically about a part of it called compositing. Compositing is the step where the browser takes the pieces it has drawn (text, images, boxes, buttons) and stacks them together into the final picture you see on screen. Modern browsers often do this stacking on the graphics card (the GPU) to keep scrolling and animation smooth.
A web page can contain an iframe: a rectangular window inside the page that loads another page. Think of it like a picture frame hanging on a wall: whatever is inside the frame should stay inside the frame, and the wall around it should show only the wall. Browsers rely on this boundary for isolation, so that one page cannot casually draw over another.
The researcher, Dahyeon Park, built a test page with a 3x3 grid of iframes, nine frames in total. Only the middle one was given a src, which is the address of the page to load inside the frame. The other eight were left empty. Content that should only be drawn in the middle iframe was painted outside it, appearing as a grey box.
The reproduction steps are short:
- Locate
frame_1920x1080.htmlandsrc.htmlto same directory - Open
frame_1920x1080.html, the grey box overflows outside of iframe
Step 1 matters because the two files must sit in the same directory. If the two files are not side by side, the inner page will not load and there is nothing to observe. Step 2 is simply opening the outer page in the browser and watching the middle frame: the grey box should be clipped at the frame edge, and instead it appears beyond it.
The summary narrows the trigger to a specific pair of elements: a blank <select> and <optgroup> inside an iframe can be drawn outside of the iframe. A <select> is the drop-down list control you see on web forms, and <optgroup> is a way of grouping the options inside such a list. The summary describes a blank <select> and <optgroup> inside an iframe being drawn outside it.
The report also records a regression, which means something that used to work correctly and then broke. The behaviour is not reproducible on Chrome 129.0.6668.70, so it appeared in a later build. The report only states that the behaviour is not reproducible on that version.
The researcher is candid about the limits of what was shown. They had not worked out how to turn the grey box into another shape, saying they do not know much about CSS (the language that controls how web pages look). They suggest that if the shape could be controlled, it might be used for a variety of security attacks. That is a guess about possible future impact, not a demonstrated attack.
The platform records this as CVE-2025-0448, an inappropriate implementation in Compositing, rated low severity, disclosed on 14 January 2025, with a bounty of 1000.00 USD. A CVE is a public identifier given to a specific security flaw so that people can refer to it unambiguously. The report itself does not describe the fix.
In general, how this kind of bug works
Browsers do not paint a page as one flat image. They split it into layers and composite those layers, often on the GPU. Each iframe sets a boundary that its content should not cross: the parent page must not show pixels that belong to the child document outside the child's box, because that breaks the isolation the frame is meant to provide.
When a layer is promoted, meaning the browser decides to draw that element on its own separate layer (for example for a form control, a transform, or an animation), the clip that should constrain it can be lost or applied to the wrong layer. The result is that the composited output spills outside its container. The bug class here is a rendering or compositing isolation failure. It is not a memory-safety issue, and on its own it is not an escape from the script sandbox.
The interesting question for someone hunting this kind of bug is whether the spilled content can be shaped, positioned and made to sit over something security-relevant, such as a button or a permission prompt, or whether it can reveal information about the framed document. Defences are structural: making sure the clip is correctly passed down to composited layers, and testing that rendered output matches the expected frame boundary.
A general method for testing this class of bug:
- Build a page with a grid of iframes, giving only one of them a
srcand leaving the rest empty, so any stray paint is easy to attribute. - Inside the framed document, place form controls and other elements known to trigger layer promotion: selects, option groups, transforms, filters, animations, fixed positioning.
- Vary the combination of blank versus populated controls, and vary the iframe size and position.
- Compare rendering across browser versions, since compositing regressions often appear in one channel and not another.
- Take screenshots and diff them against a build where the behaviour is absent.
A positive result is content from the child document visibly painted outside the iframe rectangle, reproducibly, with a minimal page. Common false positives are ordinary CSS overflow that the page author intended, elements deliberately positioned outside the frame by the parent, and screenshot artefacts caused by device pixel ratio or zoom. Confirm by isolating a single control and checking that removing it removes the overflow.
Fixes for this class usually correct clip propagation so that a promoted layer inherits the iframe's clip, or stop promoting the offending control into a layer that escapes the boundary. Regression tests then render the minimal case and assert that nothing is painted outside the frame. The report does not state which fix was applied here.
Compositing bugs tend to hide where layer promotion meets clipping: form controls, scrollable regions, transforms, filters, and content inside iframes or shadow roots. Signals worth watching include recent changes to compositing or paint code, regressions noted between adjacent Chrome versions, and controls that render differently when blank versus populated. To make a report land, reduce it to a minimal page, state the exact browser version where it reproduces and where it does not, and be honest about impact: a visual overflow alone is weak, so show whether the spilled content can be shaped or positioned over something that matters before claiming a security consequence.
Glossary
- Compositing: the browser step that stacks drawn layers into the final picture on screen, often using the GPU.
- GPU: the graphics processing unit, the chip that draws images quickly.
- iframe: a rectangular window inside a web page that loads another page.
- src: the attribute that gives the address of the page or resource to load.
<select>: the HTML element for a drop-down list of options.<optgroup>: an HTML element that groups options inside a<select>.- CSS: the language that controls how web pages look.
- Regression: a fault that appears in a newer version after working correctly in an older one.
- CVE: a public identifier for a specific security flaw.
- Layer promotion: the browser's decision to draw an element on its own separate layer.
- Clip: the boundary that stops an element's drawing from appearing outside a given area.
- Isolation: the separation between documents, so one cannot freely affect another.
- False positive: a result that looks like a bug but is actually expected behaviour or an artefact.
- Shadow root: an isolated part of a page's structure used by web components.