Skip to content
Misconfiguration Advisory Intermediate CVE-2025-11216

Inappropriate implementation in Storage (CVE-2025-11216)

The showSaveFilePicker() dialog could remain visible and be overlaid on a different origin after the user navigated away, allowing an attacker to spoof the origin of the dialog. An attacker could use this to trick a user into believing a file save dialog belongs to a trusted site.

Farras Givari Follow

Originally disclosed on Chrome VRP

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

Steps to reproduce the problem

  1. Access poc.html
  2. Click anywhere at the poc.html
  3. Browse any sites and after 3sec the dialog will appear on other origin

Problem Description

This vulnerability occurs when the showSaveFilePicker() dialog can be overlaid on another origin . By default, if a page is inactive or not actively accessed by the user, any dialogs should remain inactive, even if the dialog delayed. The dialog should only appear again when the user actively interacts with the page.

Summary

showSaveFilePicker() DIalog can Overlaid on Other Origin lead to Origin Spoofing

Additional Data

Category: Security
Chrome Channel: Not sure
Regression: N/A

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

What the report shows

The target is the Storage component of Google Chrome, and the feature under scrutiny is the File System Access API entry point showSaveFilePicker(), which opens a native save dialog from a web page. The researcher, Farras Givari, reported the behaviour through the Chrome VRP. The platform records it as an inappropriate implementation issue, rated low severity, with a bounty of 1000.00 USD, disclosed on 2025-09-30 and tracked as CVE-2025-11216.

The reproduction is short and consists of three steps:

  1. Access poc.html.
  2. Click anywhere at the poc.html.
  3. Browse any sites and after 3sec the dialog will appear on other origin.

The proof of concept is a page that triggers the save dialog. After the user clicks the page and browses other sites, the dialog appears on another origin after about three seconds. The report does not include the contents of poc.html, so the exact call sequence and timing mechanism are not shown.

The researcher's summary states the outcome directly: showSaveFilePicker() DIalog can Overlaid on Other Origin lead to Origin Spoofing. The dialog is rendered on top of a page belonging to a different origin, so the user sees a browser dialog in a context that does not match the site they are actually visiting.

Root cause

The report frames the problem as a lifecycle mistake. Its stated expectation is that if a page is inactive or not actively accessed by the user, any dialogs should remain inactive, even if the dialog delayed, and that the dialog should only appear again when the user actively interacts with the page. In the observed behaviour the delayed dialog is not suppressed and surfaces over another origin.

Impact

The report's own claim is origin spoofing: a dialog belonging to one page is shown while another origin is in the foreground, which can mislead the user about which site is asking. The severity assigned is low, and the report does not describe any file being written, any data being read, or any further exploitation beyond the overlay itself. The practical effect is a trust and UI integrity problem rather than direct compromise.

How this kind of bug works

Browsers gate powerful UI, such as file pickers, permission prompts and download dialogs, behind transient user activation. The intent is that a prompt can only appear as a direct consequence of something the user just did on the page that requests it. Bugs appear when that binding is incomplete: the request is queued, the page is hidden, navigated away from, or moved to the background, and the dialog is still presented later. Because the dialog is browser chrome rather than page content, it is drawn above whatever document is currently visible, and the user has no reliable way to tell which origin queued it. The same class covers prompts that reappear after a tab switch, dialogs that survive a navigation, and UI that can be positioned or timed to look like it belongs to the foreground site. Defences are state checks at presentation time, not only at request time: verify that the requesting document is still the active, visible, focused document in the active tab, and drop the request otherwise.

How to test for it

  1. Identify features that raise browser-level UI: file save and open pickers, permission prompts, share and clipboard prompts, download confirmations, and fullscreen or pointer-lock requests.
  2. Build a page that requests the UI, then immediately navigates away, opens a new tab, or moves focus to another origin before the prompt is due to appear.
  3. Introduce delay between the request and the expected presentation, for example by chaining the call after other asynchronous work, and observe whether the prompt still appears once another origin is in the foreground.
  4. Repeat with the tab backgrounded, with the window unfocused, and after a same-tab navigation to a different site.
  5. A positive result is a prompt that appears while a different origin is displayed, or that reappears after the user has left the requesting page without any new interaction there.

Common false positives: prompts that appear because the user did interact with the foreground page, prompts that are correctly cancelled on navigation but reappear due to a second request from the new page, and behaviour that only reproduces with automation flags or modified browser settings. Confirm the result on a clean profile and note the exact browser version and channel.

How it is fixed

Hunting notes

This bug class tends to hide in asynchronous paths: prompts scheduled after a network response, after a timer, or after a chain of promises, where the code checks activation once at the start and never again. It also appears around navigation and tab lifecycle events, and in features that were recently changed to allow deferred presentation. Recon signals include APIs that accept an options object with timing or mode settings, features with recent spec changes around activation, and any prompt that users report seeing on the wrong site.

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. 6 min read.

What happened, in plain words

This report is about Google Chrome, the web browser, and specifically a feature called the File System Access API. That feature lets a website ask the browser to open a native file dialog, the same kind of window you see when you choose where to save a document on your computer. The particular function involved is showSaveFilePicker(), which opens a "Save file" dialog from a web page.

The researcher, Farras Givari, found that this dialog can appear on top of a completely different website. The report calls this "origin spoofing": the user sees a browser dialog while visiting one site, but the dialog was actually requested by another site. The platform records this as an inappropriate implementation issue, rated low severity, with a bounty of 1000.00 USD, disclosed on 2025-09-30 and tracked as CVE-2025-11216.

The reproduction steps are short:

  1. Access poc.html.
  2. Click anywhere at the poc.html.
  3. Browse any sites and after 3sec the dialog will appear on other origin.

The proof of concept is a page that triggers the save dialog. After the user clicks the page and browses other sites, the dialog appears on another origin after about three seconds. The report does not include the contents of poc.html, so the exact call sequence and timing mechanism are not shown.

The researcher's summary states the outcome directly: showSaveFilePicker() DIalog can Overlaid on Other Origin lead to Origin Spoofing. The dialog is drawn on top of a page belonging to a different origin, so the user sees a browser dialog in a context that does not match the site they are actually visiting.

Root cause

The report frames the problem as a lifecycle mistake. Its stated expectation is that if a page is inactive or not actively accessed by the user, any dialogs should remain inactive, even if the dialog delayed, and that the dialog should only appear again when the user actively interacts with the page. In the observed behaviour the delayed dialog is not suppressed and surfaces over another origin.

Impact

The report's own claim is origin spoofing: a dialog belonging to one page is shown while another origin is in the foreground, which can mislead the user about which site is asking. The severity assigned is low, and the report does not describe any file being written, any data being read, or any further exploitation beyond the overlay itself. The practical effect is a trust and UI integrity problem rather than direct compromise.

In general, how this kind of bug works

Browsers gate powerful UI, such as file pickers, permission prompts and download dialogs, behind transient user activation. The intent is that a prompt can only appear as a direct consequence of something the user just did on the page that requests it. Bugs appear when that binding is incomplete: the request is queued, the page is hidden, navigated away from, or moved to the background, and the dialog is still presented later. Because the dialog is browser chrome rather than page content, it is drawn above whatever document is currently visible, and the user has no reliable way to tell which origin queued it. The same class covers prompts that reappear after a tab switch, dialogs that survive a navigation, and UI that can be positioned or timed to look like it belongs to the foreground site. Defences are state checks at presentation time, not only at request time: verify that the requesting document is still the active, visible, focused document in the active tab, and drop the request otherwise.

In general, how to test for it

  1. Identify features that raise browser-level UI: file save and open pickers, permission prompts, share and clipboard prompts, download confirmations, and fullscreen or pointer-lock requests.
  2. Build a page that requests the UI, then immediately navigates away, opens a new tab, or moves focus to another origin before the prompt is due to appear.
  3. Introduce delay between the request and the expected presentation, for example by chaining the call after other asynchronous work, and observe whether the prompt still appears once another origin is in the foreground.
  4. Repeat with the tab backgrounded, with the window unfocused, and after a same-tab navigation to a different site.
  5. A positive result is a prompt that appears while a different origin is displayed, or that reappears after the user has left the requesting page without any new interaction there.

Common false positives: prompts that appear because the user did interact with the foreground page, prompts that are correctly cancelled on navigation but reappear due to a second request from the new page, and behaviour that only reproduces with automation flags or modified browser settings. Confirm the result on a clean profile and note the exact browser version and channel.

In general, how it is fixed

In general, hunting notes

This bug class tends to hide in asynchronous paths: prompts scheduled after a network response, after a timer, or after a chain of promises, where the code checks activation once at the start and never again. It also appears around navigation and tab lifecycle events, and in features that were recently changed to allow deferred presentation. Recon signals include APIs that accept an options object with timing or mode settings, features with recent spec changes around activation, and any prompt that users report seeing on the wrong site.

Glossary

  • Browser: the program you use to visit websites, such as Chrome, Firefox or Safari.
  • Origin: the combination of protocol, host and port that identifies a website, for example https://example.com. Two pages with different origins are treated as different sites by the browser.
  • Origin spoofing: making a user believe that content or a dialog belongs to one site when it actually comes from another.
  • File System Access API: a browser feature that lets web pages ask the user to open or save files through native dialogs.
  • showSaveFilePicker(): the function in that API that opens a "Save file" dialog.
  • Dialog: a small window that asks the user to make a choice or confirm an action.
  • Native dialog: a dialog drawn by the operating system or browser, not by the web page itself.
  • Browser chrome: the parts of the browser window that are not page content, such as toolbars, address bar and native dialogs.
  • Proof of concept (PoC): a small page or program that demonstrates a bug.
  • Transient user activation: a short-lived state that the browser grants after the user clicks or types, allowing certain powerful actions.
  • Asynchronous: work that happens later rather than immediately, for example after a timer or a network response.
  • Promise: a JavaScript object that represents a result that will arrive later.
  • CVE: a public identifier for a known security vulnerability.
  • Chrome VRP: Chrome's Vulnerability Reward Program, which pays researchers for reporting bugs.
  • Bounty: the money paid to a researcher for a valid report.
  • Severity: a rating of how serious a bug is, often low, medium, high or critical.
  • False positive: a test result that looks like a bug but is not one.
  • Clean profile: a browser profile with no extensions or custom settings, used to rule out interference.
  • Automation flags: command-line options that let software control the browser, which can change its behaviour.
  • Pointer lock: a browser feature that captures the mouse pointer for a page, often used in games.
  • Fullscreen request: a page asking the browser to display itself over the whole screen.

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.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.