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

Inappropriate implementation in Toolbar (CVE-2025-9865)

On Chrome for Android, a page could make the omnibox disappear and then show a fake omnibox, so a user could be tricked into believing they were on a secure site. The report describes a spoofing issue triggered by the bottom address bar.

Khalil Zhani Follow

Originally disclosed on Chrome VRP

Bounty$5,000 Medium View original
  • Fix shipped in 27 days

Steps to reproduce the problem

  1. Navigate to https://lbstyle.github.io/sandbox.html
  2. Tap inside the input field
  3. Tap docwrite1

Problem Description

Note: This is very similar to issue 379652406 and issue 40064686.

The omnibox disappears, and the attack can trick the user into thinking they are seeing a fake omnibox of a secure website.

Summary

Chrome on Android: Spoof issue triggered by bottom address bar

Additional Data

Category: Security
Chrome Channel: Canary
Regression: N/A \

The original report as published on the Chromium issue tracker, by Khalil Zhani. 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 Toolbar component of Google Chrome, and the report is filed against Chrome on Android. The researcher, Khalil Zhani, describes a spoofing issue that is triggered by the bottom address bar. The platform records it as an inappropriate implementation weakness, rated medium severity, with a bounty of 5,000 USD. It was disclosed on 2 September 2025 under CVE-2025-9865. The report itself gives no fix details and no CVSS score.

The reproduction is short and uses a public sandbox page:

  1. Navigate to https://lbstyle.github.io/sandbox.html
  2. Tap inside the input field
  3. Tap docwrite1

There is no request, payload or command in the report beyond that URL and the label of the button to tap.

After those three steps, the omnibox disappears. The researcher's stated concern is that the attack can trick the user into thinking they are seeing a fake omnibox of a secure website. The researcher's concern is that the attack can trick the user into thinking they are seeing a fake omnibox of a secure website.

The report notes that the issue is very similar to issue 379652406 and issue 40064686, and summarises itself as a spoof issue on Chrome on Android triggered by the bottom address bar. The additional data records the category as Security, the channel as Canary, and regression as N/A. The report does not describe the underlying code path, the exact rendering state, or what the sandbox page does internally.

Root cause

The report points at the bottom address bar on Android as the trigger and at the disappearance of the omnibox as the observable effect. The report does not state the cause; it only notes the bottom address bar as the trigger and the disappearing omnibox as the effect.

Impact

The impact described is user deception: an attacker can make a victim believe they are looking at the address bar of a secure website. The report describes user deception but does not state how the imitation is produced. The severity recorded by the platform is medium.

How this kind of bug works

Browser UI spoofing relies on the trust users place in browser chrome. The address bar, the lock indicator and the origin display are drawn by the browser, outside the page's control, precisely so that a page cannot forge them. A spoofing bug appears when that boundary breaks: the page gains the ability to hide, move, overlay or imitate part of the chrome, or the chrome is drawn in a state that misrepresents the real origin.

On mobile the surface is larger. The address bar can sit at the bottom, it can hide on scroll, and it can be affected by keyboard and input focus. Any interaction that changes toolbar visibility, such as focusing an input or triggering a scripted document write, is a candidate for leaving the chrome in an inconsistent state. When the chrome is hidden but the page still fills the screen, the page can paint pixels where the omnibox used to be.

Defences are structural: the browser must keep its security indicators visible and correct whenever page content is displayed, must not let page script or page interaction suppress them, and must reassert the true origin whenever the chrome is redrawn. Fullscreen and immersive modes are the usual place where these guarantees are weakened, so they need the strictest review.

How to test for it

Look for any interaction that changes browser chrome: focus and blur of input fields, scrolling, scripted document writes, fullscreen requests, keyboard show and hide, orientation changes, and navigation within a page. Mobile builds with a bottom address bar are the most productive place to start.

A practical method:

  1. Build a page that performs one chrome-affecting action at a time, and observe the address bar after each.
  2. Combine actions: focus an input, then trigger a scripted write, then scroll, and check whether the omnibox returns.
  3. When the omnibox disappears, check whether the page can draw content in the vacated area, and whether that content can resemble a browser address bar with a lock or a plausible origin.
  4. Repeat across channels and versions, since toolbar behaviour changes between releases.

A positive result is a state where the real origin indicator is absent while page content is visible. Common false positives are transient hiding during scrolling that restores on the next gesture, chrome that is hidden but still reachable by a swipe, and cases where the page cannot draw in the vacated region at all. Record a screen capture of the full sequence, because the finding depends on timing and state.

How it is fixed

Fixes for this class usually force the toolbar back into a consistent state whenever page-driven interaction could hide it, and prevent page content from occupying the region reserved for browser chrome. Where a scripted action such as a document write leaves the chrome hidden, the fix is to re-evaluate visibility after that action and restore the omnibox.

Hunting notes

This class tends to hide in mobile browsers, in fullscreen and immersive modes, in custom tab and in-app browser implementations, and anywhere the address bar can be relocated or auto-hidden. Recon signals include recent changes to toolbar or omnibox code, new fullscreen or keyboard handling, and any feature that lets a page influence viewport size or chrome visibility.

To get a report accepted, show the sequence precisely and show that the real origin indicator is gone. Keep the demonstration minimal and reproducible, and state the user-deception impact plainly rather than claiming consequences the demonstration does not prove.

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 Google Chrome on Android, the version of the browser that runs on phones and tablets. The part of the browser under scrutiny is the Toolbar, the strip at the top or bottom of the screen that holds the address bar. The researcher, Khalil Zhani, found a way to make the address bar vanish while a web page stays on screen, which can trick the user into thinking they see a fake omnibox of a secure website.

That matters because the address bar is the one piece of the screen the browser controls and the website does not. It is how you check which site you are really on. If a page can remove it, the user may be tricked about which site they are on.

The platform records this as an inappropriate implementation weakness, rated medium severity, with a bounty of 5,000 USD. It was disclosed on 2 September 2025 under CVE-2025-9865. The report gives no fix details and no CVSS score.

The steps to reproduce

The report gives three steps, and they are short enough to copy exactly:

  1. Navigate to https://lbstyle.github.io/sandbox.html
  2. Tap inside the input field
  3. Tap docwrite1

Here is why each step matters. The first step opens a public test page the researcher prepared. The second step puts the cursor into a text box on that page. The third step taps a button labelled docwrite1.

There is no request, payload or command in the report beyond that URL and the button label.

What the researcher saw

After those three steps, the omnibox disappears. The omnibox is the combined address and search bar. The researcher's stated concern is that the attack can trick the user into thinking they are seeing a fake omnibox of a secure website. The researcher's concern is that the attack can trick the user into thinking they are seeing a fake omnibox of a secure website.

The report notes that the issue is very similar to issue 379652406 and issue 40064686, and summarises itself as a spoof issue on Chrome on Android triggered by the bottom address bar. The additional data records the category as Security, the channel as Canary, and regression as N/A. Canary is the experimental build of Chrome where new code lands first, so bugs often show up there before they reach ordinary users. The report does not describe the underlying code path, the exact rendering state, or what the sandbox page does internally.

Why it happens

The report points at the bottom address bar on Android as the trigger and at the disappearance of the omnibox as the visible effect. The report does not state the cause; it only notes the bottom address bar as the trigger and the disappearing omnibox as the effect.

What the impact is

The impact described is deception: an attacker can make a victim believe they are looking at the address bar of a secure website. The report describes user deception but does not state how the imitation is produced. The severity recorded by the platform is medium.

In general, how this kind of bug works

Browser UI spoofing relies on the trust users place in the browser's own controls. The address bar, the lock indicator and the display of the site's origin are drawn by the browser, outside the page's control, precisely so that a page cannot forge them. A spoofing bug appears when that boundary breaks: the page gains the ability to hide, move, overlay or imitate part of the browser's controls, or those controls are drawn in a state that misrepresents the real origin.

On mobile the surface is larger. The address bar can sit at the bottom, it can hide as you scroll, and it can be affected by the keyboard and by input focus. Any interaction that changes toolbar visibility, such as focusing an input or triggering a scripted document write, is a candidate for leaving the controls in an inconsistent state. When the controls are hidden but the page still fills the screen, the page can paint pixels where the omnibox used to be.

Defences are structural: the browser must keep its security indicators visible and correct whenever page content is displayed, must not let page script or page interaction suppress them, and must reassert the true origin whenever the controls are redrawn. Fullscreen and immersive modes are the usual place where these guarantees are weakened, so they need the strictest review.

How to test for it

Look for any interaction that changes the browser's controls: focus and blur of input fields, scrolling, scripted document writes, fullscreen requests, keyboard show and hide, orientation changes, and navigation within a page. Mobile builds with a bottom address bar are the most productive place to start.

A practical method:

  1. Build a page that performs one control-affecting action at a time, and observe the address bar after each.
  2. Combine actions: focus an input, then trigger a scripted write, then scroll, and check whether the omnibox returns.
  3. When the omnibox disappears, check whether the page can draw content in the vacated area, and whether that content can resemble a browser address bar with a lock or a plausible origin.
  4. Repeat across channels and versions, since toolbar behaviour changes between releases.

A positive result is a state where the real origin indicator is absent while page content is visible. Common false positives are transient hiding during scrolling that restores on the next gesture, controls that are hidden but still reachable by a swipe, and cases where the page cannot draw in the vacated region at all. Record a screen capture of the full sequence, because the finding depends on timing and state.

How it is fixed

Fixes for this class usually force the toolbar back into a consistent state whenever page-driven interaction could hide it, and prevent page content from occupying the region reserved for the browser's controls. Where a scripted action such as a document write leaves the controls hidden, the fix is to re-evaluate visibility after that action and restore the omnibox.

Hunting notes

This class tends to hide in mobile browsers, in fullscreen and immersive modes, in custom tab and in-app browser implementations, and anywhere the address bar can be relocated or auto-hidden. Recon signals include recent changes to toolbar or omnibox code, new fullscreen or keyboard handling, and any feature that lets a page influence viewport size or control visibility.

To get a report accepted, show the sequence precisely and show that the real origin indicator is gone. Keep the demonstration minimal and reproducible, and state the user-deception impact plainly rather than claiming consequences the demonstration does not prove.

Glossary

  • Omnibox: the combined address and search bar in Chrome, drawn by the browser rather than the page.
  • Toolbar: the strip of browser controls that contains the omnibox and related buttons.
  • Browser chrome: everything on screen that belongs to the browser rather than the website, such as the address bar and the lock icon.
  • Spoofing: making something look like something it is not, here a fake address bar imitating the real one.
  • Origin: the combination of scheme, host and port that identifies which site you are actually on.
  • UI spoofing: a spoofing attack that imitates part of the browser's own interface.
  • Inappropriate implementation: a weakness category meaning the software was built in a way that does not uphold a required security property.
  • CVE: a public identifier assigned to a specific security vulnerability so people can refer to it unambiguously.
  • CVSS: a standard scoring system for rating the severity of a vulnerability; the report gives no score.
  • Severity: a rating of how serious a bug is; here medium.
  • Bounty: a payment made by a bug bounty programme to a researcher who reports a valid vulnerability.
  • Chrome VRP: Chrome's Vulnerability Reward Program, the scheme that pays for reports like this one.
  • Canary: the experimental Chrome build where new code arrives first, before stable releases.
  • Regression: a bug that reintroduces behaviour that used to work correctly; recorded here as N/A.
  • Input field: a text box on a web page where you can type.
  • Focus: the state of an input field when it is selected and ready to receive typing.
  • document.write: a way for page script to insert content into the page while it is loading or after it has loaded.
  • Viewport: the visible area of the page on screen.
  • Fullscreen / immersive mode: a mode where the page fills the whole screen and browser controls are hidden or reduced.
  • False positive: a result that looks like a bug but is not one, for example hiding that restores itself.
  • Recon: the early research stage where you look for promising areas before testing in depth.

More by Khalil Zhani

View all

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