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

Inappropriate implementation in Downloads (CVE-2025-9867)

A file download pop-up from one origin could be overlaid on a different origin, so the pop-up appeared while the user was on another site. An attacker could use this to make a download prompt appear on a trusted site, potentially tricking the user into downloading a file.

Farras Givari Follow

Originally disclosed on Chrome VRP

Bounty$1,000 Medium View original
  • Fix shipped in 4 months

Steps to reproduce the problem

  1. Access poc.html
  2. Click the button
  3. The download pop-up will still appear on https://google.com

Problem Description

This vulnerability occurs when there is a condition that a file download pop-up origin can be overlaid on other origin. The file download pop-up should only be appear when user is accessing the real origin where the file download pop-up come from.

For more information you can read on crbug.com/40055527

Chrome version: 135.0.7049.111 (Official Build) (64-bit)

Summary

crbug.com/40055527 is still reproducible on newest version of Chrome

Additional Data

Category: Security
Chrome Channel: Not sure
Regression: Yes

The original report as published on the Chromium issue tracker, by Farras Givari. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

This is a Chrome VRP report about the Downloads feature in Google Chrome, tracked as CVE-2025-9867 and classified as an inappropriate implementation issue. The researcher is Farras Givari, the severity is medium, and the bounty was 1000.00 USD. The report was disclosed on 2025-09-02. The affected build is stated as:

Text
Chrome version: 135.0.7049.111 (Official Build) (64-bit)

The researcher frames the finding as a regression and as a continuation of an earlier issue, crbug.com/40055527, which they say is still reproducible on the newest version of Chrome. The report itself is short and consists of reproduction steps, a description of the condition, and metadata.

The reproduction steps are given as:

  1. Access poc.html
  2. Click the button
  3. The download pop-up will still appear on https://google.com

The proof of concept is a file named poc.html. The report does not include the contents of poc.html, so the exact markup, the download trigger and any framing or window handling it uses are not shown. What the steps establish is the observable outcome: after interacting with the page, the file download pop-up is displayed while the browser is on https://google.com.

The report gives no fix details and no further technical analysis. The "Additional Data" section records the category as Security, the Chrome channel as "Not sure", and regression as "Yes".

Root cause

The report describes the condition directly: a file download pop-up's origin can be overlaid on another origin. In the researcher's words, the pop-up "should only be appear when user is accessing the real origin where the file download pop-up come from".

The report describes the condition but does not identify a root cause. The report points to crbug.com/40055527 as the prior tracking bug for this behaviour, and states that the issue is still reproducible on the newest version of Chrome.

Impact

The report's own framing is about origin confusion in a security-sensitive prompt: a download prompt belonging to one origin appears while the user is on another. The researcher does not describe a concrete attack chain, data theft, code execution or privilege escalation, and none should be inferred. The realistic concern implied by the text is that a user on a trusted site could be shown a download prompt that does not belong to that site, which undermines the trust signal the prompt is supposed to carry.

How this kind of bug works

Browsers show several kinds of security UI: permission prompts, download confirmations, authentication dialogs, file pickers and similar surfaces. Each of these is meant to be attributable to a specific origin, because the user's decision depends on knowing who is asking. The UI is usually rendered by the browser process, outside the page, precisely so that web content cannot draw over it or imitate it.

The bug class here is about the lifetime and anchoring of that UI rather than its rendering. A prompt is created in response to an action in one tab or frame, but the user can navigate, switch tabs, open a new window or otherwise change what is in front of them before the prompt is shown or while it is shown. If the browser does not tie the prompt to the originating browsing context and re-check that context when displaying it, the prompt can end up presented over a different origin. The user then sees a legitimate browser prompt in the wrong place, and the association between prompt and site is broken.

Defences fall into a few categories: binding the prompt to the initiating frame or tab and dismissing it if that context goes away or navigates; suppressing the prompt when the active document's origin no longer matches the origin that requested the action; and keeping the prompt in browser-controlled UI that page content cannot influence. Full-screen and pointer-lock style protections follow the same principle: security-relevant UI must not be shown in a context the page can manipulate.

How to test for it

A general method for this class:

  1. Identify actions that raise browser-controlled UI: downloads, permission requests, external protocol handlers, authentication prompts, file selection.
  2. Trigger the action from an origin you control, then immediately change the browsing context: navigate the tab, open a new tab or window, move focus, or close the opener.
  3. Observe where the prompt appears and which origin is displayed in the address bar at that moment.
  4. Repeat with timing variations: trigger the action and navigate in the same task, in a setTimeout, on beforeunload, or from a popup that the opener then navigates.
  5. Check whether the prompt is dismissed, re-anchored, or left visible over the new origin.

A positive result is a browser prompt that remains visible, or appears, while the address bar shows an origin different from the one that requested the action, and which the user could reasonably mistake for belonging to the current site. Record the exact build, the sequence, and a screen capture showing the address bar and the prompt together.

Common false positives: the prompt is correctly attributed but the page behind it happens to look similar; the prompt is a page-rendered imitation rather than browser UI; the prompt is dismissed as soon as the context changes but the capture was taken before the dismissal; or the behaviour only occurs with flags, extensions or non-default settings. Confirm on a clean profile and a stable channel build before reporting.

How it is fixed

Standard fixes for this class are to associate the prompt with the requesting frame or tab and to cancel it if that association breaks, for example on navigation, tab close or origin change. The browser should re-validate the active document's origin at display time and drop the prompt if it no longer matches. Where the prompt is queued, the queue entry should carry the originating context and be discarded when the context is gone. Regression tests typically drive the trigger-then-navigate sequence and assert that no prompt is shown over the unrelated origin.

Hunting notes

This class tends to hide at the boundaries between page-initiated actions and browser UI: download flows, permission prompts, protocol handlers, and anything that survives a navigation. Recon signals include features that queue or defer UI, code paths that reference the opener or initiating frame, and prior bugs in the same component, since regressions in this area are common. When reporting, show the address bar and the prompt in the same frame, state the exact build, and demonstrate the sequence from a clean profile. A clear, reproducible origin mismatch in security UI is what makes a report actionable; speculation about exploitation beyond that is not needed.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 8 min read.

What happened, in plain words

This is a bug report filed in Google's Chrome Vulnerability Reward Program (VRP), a scheme where people who find security problems in the Chrome browser report them and can receive a payment. The report is about Chrome's Downloads feature, the part of the browser that saves files to your computer and shows a small pop-up asking you to confirm or manage a download. The issue is tracked as CVE-2025-9867, a public identifier given to a specific security flaw. It is classified as an "inappropriate implementation", which means the browser's code does not behave the way it was intended to. The researcher is Farras Givari, the severity is medium, and the bounty was 1000.00 USD. The report was disclosed on 2025-09-02.

The affected build is stated as:

Text
Chrome version: 135.0.7049.111 (Official Build) (64-bit)

A build is one specific compiled release of the browser. The researcher describes the finding as a regression, meaning something that used to work correctly and has broken again, and as a continuation of an earlier issue, crbug.com/40055527, which they say is still reproducible on the newest version of Chrome. Reproducible means the behaviour can be triggered again by following the same steps.

The reproduction steps are short:

  1. Access poc.html
  2. Click the button
  3. The download pop-up will still appear on https://google.com

A proof of concept (poc) is a small demonstration that shows a bug happening without needing the full real-world attack. Here it is a file named poc.html. The report does not include the contents of poc.html, so the exact markup, how the download is triggered, and any window handling it uses are not shown. What the steps establish is the visible outcome: after clicking the button, the file download pop-up is displayed while the browser is on https://google.com.

Step 1 matters because it loads the page that triggers the behaviour. Step 2 matters because clicking is the user action that asks the browser to start a download. Step 3 matters because it is the observation: the prompt appears over a different site. The report gives no fix details and no further technical analysis. Its "Additional Data" section records the category as Security, the Chrome channel as "Not sure", and regression as "Yes".

Root cause

The report describes the condition directly: a file download pop-up's origin can be overlaid on another origin. An origin is the combination of scheme, host and port that identifies a website, for example https://google.com; it is the browser's basic unit of trust, and two different origins are not allowed to read each other's data. Overlaid means drawn on top of, so the prompt belonging to one site is shown while a different site is in front of the user. In the researcher's words, the pop-up "should only be appear when user is accessing the real origin where the file download pop-up come from".

The report describes the condition but does not identify a root cause. The report points to crbug.com/40055527 as the earlier tracking bug for this behaviour and states that the issue is still reproducible on the newest version of Chrome.

Impact

The report's own framing is about origin confusion in a security-sensitive prompt: a download prompt belonging to one origin appears while the user is on another. The researcher does not describe a concrete attack chain, data theft, code execution or privilege escalation, and none should be inferred. The realistic concern implied by the text is that a user on a trusted site could be shown a download prompt that does not belong to that site, which weakens the trust signal the prompt is supposed to carry.

In general, how this kind of bug works

Browsers show several kinds of security user interface (UI): permission prompts, download confirmations, sign-in dialogs, file pickers and similar surfaces. Each is meant to be attributable to a specific origin, because the user's decision depends on knowing who is asking. Think of a bank clerk asking for your signature: it only makes sense if the clerk is really at your bank. The UI is usually drawn by the browser itself, outside the web page, precisely so that page content cannot paint over it or imitate it.

The bug class here is about the lifetime and anchoring of that UI rather than how it looks. A prompt is created in response to an action in one tab or frame, but the user can navigate, switch tabs, open a new window or otherwise change what is in front of them before the prompt is shown or while it is shown. If the browser does not tie the prompt to the originating browsing context and re-check that context when displaying it, the prompt can end up presented over a different origin. The user then sees a legitimate browser prompt in the wrong place, and the link between prompt and site is broken.

Defences fall into a few categories: binding the prompt to the initiating frame or tab and dismissing it if that context goes away or navigates; suppressing the prompt when the active document's origin no longer matches the origin that requested the action; and keeping the prompt in browser-controlled UI that page content cannot influence. Full-screen and pointer-lock protections follow the same principle: security-relevant UI must not be shown in a context the page can manipulate.

In general, how to test for it

A general method for this class:

  1. Identify actions that raise browser-controlled UI: downloads, permission requests, external protocol handlers, authentication prompts, file selection.
  2. Trigger the action from an origin you control, then immediately change the browsing context: navigate the tab, open a new tab or window, move focus, or close the opener.
  3. Observe where the prompt appears and which origin is displayed in the address bar at that moment.
  4. Repeat with timing variations: trigger the action and navigate in the same task, in a setTimeout, on beforeunload, or from a popup that the opener then navigates.
  5. Check whether the prompt is dismissed, re-anchored, or left visible over the new origin.

A positive result is a browser prompt that remains visible, or appears, while the address bar shows an origin different from the one that requested the action, and which the user could reasonably mistake for belonging to the current site. Record the exact build, the sequence, and a screen capture showing the address bar and the prompt together.

Common false positives: the prompt is correctly attributed but the page behind it happens to look similar; the prompt is a page-rendered imitation rather than browser UI; the prompt is dismissed as soon as the context changes but the capture was taken before the dismissal; or the behaviour only occurs with flags, extensions or non-default settings. Confirm on a clean profile and a stable channel build before reporting.

In general, how it is fixed

Standard fixes for this class are to associate the prompt with the requesting frame or tab and to cancel it if that association breaks, for example on navigation, tab close or origin change. The browser should re-validate the active document's origin at display time and drop the prompt if it no longer matches. Where the prompt is queued, the queue entry should carry the originating context and be discarded when the context is gone. Regression tests typically drive the trigger-then-navigate sequence and assert that no prompt is shown over the unrelated origin.

In general, hunting notes

This class tends to hide at the boundaries between page-initiated actions and browser UI: download flows, permission prompts, protocol handlers, and anything that survives a navigation. Recon signals include features that queue or defer UI, code paths that reference the opener or initiating frame, and prior bugs in the same component, since regressions in this area are common. When reporting, show the address bar and the prompt in the same frame, state the exact build, and demonstrate the sequence from a clean profile. A clear, reproducible origin mismatch in security UI is what makes a report actionable; speculation about exploitation beyond that is not needed.

Glossary

  • VRP (Vulnerability Reward Program): a scheme where researchers report security bugs and may receive a payment.
  • CVE: a public identifier assigned to a specific security vulnerability.
  • Inappropriate implementation: a flaw where the code does not behave as intended, rather than a memory or logic error of another class.
  • Severity: a rating of how serious a bug is; here, medium.
  • Bounty: the money paid to a researcher for a valid report.
  • Build: one specific compiled release of a browser.
  • Regression: a bug where behaviour that used to work correctly has broken again.
  • Reproducible: able to be triggered again by following the same steps.
  • Proof of concept (poc): a small demonstration that shows a bug happening.
  • Origin: the scheme, host and port that identify a website, such as https://google.com; the browser's basic unit of trust.
  • Overlay: content drawn on top of something else.
  • Download pop-up: the browser-controlled prompt that asks the user to confirm or manage a file download.
  • Security UI: browser-drawn surfaces such as prompts and dialogs that the user makes trust decisions on.
  • Browsing context: a tab, window or frame in which a page is loaded.
  • Frame: a section of a page that can load a separate document.
  • Opener: the window or tab that opened another window.
  • Navigation: moving a tab or frame from one page to another.
  • Address bar: the browser field that shows the current page's origin.
  • setTimeout: a JavaScript function that runs code after a delay.
  • beforeunload: a browser event fired when a page is about to be left.
  • False positive: a finding that looks like a bug but is not one.
  • Clean profile: a browser profile with no extensions or custom settings.
  • Stable channel: the normal, fully tested release of a browser.
  • Regression test: an automated test that checks a fixed bug stays fixed.

More by Farras Givari

View all

4 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.