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

Inappropriate implementation in WebApp Installs (CVE-2025-13102)

The browser's install-app dialog for a progressive web app stays on screen after the page navigates to a different origin. An attacker could therefore show the install prompt over a site they do not control.

Bharat Follow

Originally disclosed on Chrome VRP

Bounty$500 Low View original
  • Fix shipped in 8 months

Steps to reproduce the problem

go to mrnoob790.github.io/index.html click on add homescreen and then fastly click on install app u will installation popup come in screen and website is redirect to google.com

Problem Description

After the PWA's installation dialog is opened by the user, it is possible to redirect the attacker's page to another website, and given the dialog isn't being dismissed, it will show over cross-origin websites

Summary

The PWA's installation dialog isn't being dismissed after redirects, which allows an attacker to sho

Additional Data

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

The original report as published on the Chromium issue tracker, by Bharat (mrnoob). 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

The target is the WebApp Installs feature of Google Chrome, the code path that presents the progressive web app (PWA) installation dialog. The researcher, Bharat (mrnoob), reported an inappropriate implementation issue that was tracked as CVE-2025-13102, rated low severity, and paid a bounty of 500.00 USD. The report was disclosed on 2025-03-04.

The reproduction is short and consists of a single interaction sequence:

  1. Go to mrnoob790.github.io/index.html.
  2. Click on "add homescreen" and then quickly click on "install app".
  3. The installation popup appears on screen, and the website is redirected to google.com.

The researcher's point is that the installation dialog is not dismissed when the page navigates away. Because the dialog stays open, it is rendered over a different, cross-origin website. The report describes this as the attacker's page being able to redirect to another website while the dialog remains visible on top of it.

The summary section of the report is cut off mid-sentence ("which allows an attacker to sho"), so the intended final statement of impact is not present in the text. The additional data lists the category as Security, the Chrome channel as "Not sure", and regression as "N/A". The report does not describe a fix, a patch, or the code change that resolved the issue.

Root cause

The report does not identify a root cause; it only states that the dialog is not dismissed after redirects. When the initiating page navigates, the dialog is expected to be torn down; here it is not.

The report categorises the issue as an inappropriate implementation. It does not identify the specific component or function responsible.

Impact

The impact described is UI spoofing across origins: a dialog that the user associates with one site remains on screen after the browser has moved to another site. The report says it is possible to redirect the page, and the severity assigned was low.

The report does not demonstrate credential theft, code execution, or any data exposure.

How this kind of bug works

Browser UI that is triggered by web content, such as permission prompts, install dialogs, and file pickers, lives in a privileged layer above the page. The page requests the UI, the browser renders it, and the page is expected to remain the context for that UI until the user answers or the page goes away. The security property at stake is that browser chrome must always correspond to the origin that requested it.

Bugs appear when the lifetime of that UI is not bound to the lifetime of the requesting document. Navigation, history changes, frame removal, and tab closure are all events that should invalidate a pending prompt. If any of them is missed, the prompt outlives its context and can be composited over a different origin. Because users are trained to trust browser chrome more than page content, a stale prompt is a phishing primitive: the attacker controls the page underneath and can place content that makes the prompt appear to belong to a site of their choosing.

Defences are structural: cancel pending UI on navigation and on document destruction, key the UI to a specific browsing context and origin, and refuse to display or act on a prompt whose originating document is no longer current. Timing races, where the user activates the prompt in the same instant as a navigation, are the usual way these checks are bypassed, so the cancellation must be synchronous with the navigation commit rather than deferred.

How to test for it

Look for features where web content causes browser-level UI: PWA install prompts, permission requests, payment sheets, share dialogs, and download confirmations. The test is a race between opening the UI and changing the page's context.

  1. Build a page that triggers the UI, for example by firing the install prompt event and calling the prompt method from a user gesture.
  2. In the same handler, or immediately after, navigate the page to a second origin you control, using a location assignment, a form submission, or a redirect.
  3. Vary the timing: navigate before the prompt call, in the same task, in a microtask, and after a short delay. Try both a same-tab navigation and opening the prompt from an iframe that is then removed.
  4. Observe whether the dialog remains visible after the new origin has loaded, and whether interacting with it still affects the original page.

A positive result is a browser-owned dialog still on screen, or still functional, after the document that requested it has been replaced by a different origin. Record a screen capture showing the URL bar and the dialog together, since that is the evidence a triage team needs.

Common false positives: the dialog is actually page-rendered HTML that merely looks like browser chrome; the navigation did not commit before the dialog was dismissed; the dialog belongs to the new page because the new page also requested it; or the browser dismissed the dialog but a screenshot was taken before the repaint. Confirm the origin in the address bar at the moment the dialog is visible.

How it is fixed

Standard fixes for stale browser UI are:

  • Cancel any pending prompt when the requesting document starts a navigation or is destroyed.
  • Bind the prompt to the browsing context and origin that created it, and re-check that binding before display and before handling the user's response.
  • Handle the race explicitly: if the prompt request and the navigation arrive in the same turn, the navigation wins.
  • Add regression tests that open the prompt and navigate in the same task, asserting the prompt is gone.

Hunting notes

This class tends to hide in features that bridge page script and browser chrome: installability, permissions, autofill, payments, and any API that shows a modal owned by the browser. Recon signals include recently added or changed prompt APIs, features gated behind flags, and code paths where a prompt is queued asynchronously. Timing-sensitive behaviour is worth probing with repeated runs, since a race may only reproduce occasionally.

To get a report accepted, show the dialog and the address bar in one frame, state the exact origin transition, and explain what the user would believe. Keep the demonstration minimal and avoid claiming data theft the evidence does not support; a clear, reproducible spoofing primitive with a short video is usually enough.

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

What happened, in plain words

This report is about a feature in Google Chrome called WebApp Installs. That is the part of the browser that offers to install a website as an app on your computer or phone, the way you might install an app from an app store. When you visit a site that supports this, Chrome can show a small installation dialog, a pop-up owned by the browser rather than by the website, asking whether you want to install it.

The researcher, Bharat (mrnoob), found that this installation dialog does not always disappear when the page that asked for it navigates somewhere else. The issue was tracked as CVE-2025-13102, rated low severity, and paid a bounty of 500.00 USD. It was disclosed on 2025-03-04.

The reproduction is a single short sequence:

  1. Go to mrnoob790.github.io/index.html.
  2. Click on "add homescreen" and then quickly click on "install app".
  3. The installation popup appears on screen, and the website is redirected to google.com.

The important part is the timing. The page asks the browser to show the install dialog, and almost immediately the page sends the browser to a different website. Normally, when a page goes away, any browser dialog it opened should go away too. Here it stays on screen, drawn over the new site.

The report describes this as the attacker's page being able to redirect to another website while the dialog remains visible on top of it. The summary section of the report is cut off mid-sentence ("which allows an attacker to sho"), so the intended final statement of impact is not present. The additional data lists the category as Security, the Chrome channel as "Not sure", and regression as "N/A". The report does not describe a fix, a patch, or the code change that resolved the issue.

Why it matters

The dialog is browser interface, not page content. Users are trained to trust browser interface more than anything a website draws, because the browser is the thing they installed and the website is a stranger. That is called UI spoofing: faking the appearance of trusted interface to mislead someone.

The report says it is possible to redirect the page, and the severity assigned was low. The report does not demonstrate credential theft, code execution, or any data exposure.

Root cause

The report does not identify a root cause; it only states that the dialog is not dismissed after redirects. When the initiating page navigates, the dialog is expected to be torn down; here it is not.

The report categorises the issue as an inappropriate implementation. It does not identify the specific component or function responsible.

In general, how this kind of bug works

Browser interface that is triggered by web content, such as permission prompts, install dialogs, and file pickers, lives in a privileged layer above the page. The page requests the interface, the browser renders it, and the page is expected to remain the context for that interface until the user answers or the page goes away. The security property at stake is that browser interface must always correspond to the origin that requested it. An origin is the combination of scheme, host and port that identifies a website, for example https://example.com.

Bugs appear when the lifetime of that interface is not bound to the lifetime of the requesting document. Navigation, history changes, frame removal, and tab closure are all events that should invalidate a pending prompt. If any of them is missed, the prompt outlives its context and can be drawn over a different origin. Because users trust browser interface more than page content, a stale prompt is a phishing tool: the attacker controls the page underneath and can place content that makes the prompt appear to belong to a site of their choosing.

Defences are structural: cancel pending interface on navigation and on document destruction, key the interface to a specific browsing context and origin, and refuse to display or act on a prompt whose originating document is no longer current. Timing races, where the user activates the prompt in the same instant as a navigation, are the usual way these checks are bypassed, so the cancellation must happen at the same moment as the navigation commit rather than later.

In general, how to test for it

Look for features where web content causes browser-level interface: PWA install prompts, permission requests, payment sheets, share dialogs, and download confirmations. The test is a race between opening the interface and changing the page's context.

  1. Build a page that triggers the interface, for example by firing the install prompt event and calling the prompt method from a user gesture.
  2. In the same handler, or immediately after, navigate the page to a second origin you control, using a location assignment, a form submission, or a redirect.
  3. Vary the timing: navigate before the prompt call, in the same task, in a microtask, and after a short delay. Try both a same-tab navigation and opening the prompt from an iframe that is then removed.
  4. Observe whether the dialog remains visible after the new origin has loaded, and whether interacting with it still affects the original page.

A positive result is a browser-owned dialog still on screen, or still functional, after the document that requested it has been replaced by a different origin. Record a screen capture showing the URL bar and the dialog together, since that is the evidence a triage team needs.

Common false positives: the dialog is actually page-rendered HTML that merely looks like browser interface; the navigation did not commit before the dialog was dismissed; the dialog belongs to the new page because the new page also requested it; or the browser dismissed the dialog but a screenshot was taken before the repaint. Confirm the origin in the address bar at the moment the dialog is visible.

In general, how it is fixed

Standard fixes for stale browser interface are:

  • Cancel any pending prompt when the requesting document starts a navigation or is destroyed.
  • Bind the prompt to the browsing context and origin that created it, and re-check that binding before display and before handling the user's response.
  • Handle the race explicitly: if the prompt request and the navigation arrive in the same turn, the navigation wins.
  • Add regression tests that open the prompt and navigate in the same task, asserting the prompt is gone.

In general, where to look

This class tends to hide in features that bridge page script and browser interface: installability, permissions, autofill, payments, and any API that shows a modal owned by the browser. Recon signals include recently added or changed prompt APIs, features gated behind flags, and code paths where a prompt is queued asynchronously. Timing-sensitive behaviour is worth probing with repeated runs, since a race may only reproduce occasionally.

To get a report accepted, show the dialog and the address bar in one frame, state the exact origin transition, and explain what the user would believe. Keep the demonstration minimal and avoid claiming data theft the evidence does not support; a clear, reproducible spoofing primitive with a short video is usually enough.

Glossary

  • WebApp Installs: the Chrome feature that offers to install a website as an app on your device.
  • PWA (progressive web app): a website built to behave like an installed app, with its own icon and window.
  • Installation dialog: the browser-owned pop-up asking whether you want to install a site as an app.
  • CVE: a public identifier for a known security vulnerability.
  • Bounty: a payment made by a company to a researcher who reports a valid security issue.
  • Severity: a rating of how serious a vulnerability is, here low.
  • Origin: the scheme, host and port that identify a website, for example https://example.com.
  • Cross-origin: involving two different origins, so the browser treats them as separate sites.
  • Navigation: the browser moving from one page to another.
  • UI spoofing: faking the appearance of trusted interface to mislead a user.
  • Browser interface (browser chrome): the parts of the window drawn by the browser rather than the website, such as the address bar and permission prompts.
  • Privileged layer: code that runs with more trust and control than ordinary web page content.
  • Browsing context: a place where a document is displayed, such as a tab or an iframe.
  • Document: the page currently loaded in a browsing context.
  • Race condition: a bug that depends on two events happening in a particular order or at the same moment.
  • Task and microtask: units of work the browser runs in order; microtasks run before the next task.
  • Iframe: a page embedded inside another page.
  • Modal: a dialog that blocks interaction with the rest of the page until it is answered.
  • False positive: a test result that looks like a bug but is not one.
  • Triage: the process of reviewing and prioritising a reported issue.
  • Regression test: an automated test that checks a fixed bug stays fixed.
  • Recon: the early stage of looking for targets and features worth testing.
  • Feature flag: a switch that turns a feature on or off, often used for unfinished features.

More by Bharat

View all

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