Incorrect security UI in Omnibox (CVE-2025-12435)
On Android Chrome, when the virtual keyboard is shown and the page navigates back in history, the keyboard remains visible and the mini-bar above it takes on a dynamic colour matching the page background, so the domain text becomes invisible. An attacker could use this to spoof the address shown above the keyboard and mislead the user about which site they are on.
- Fix shipped in 38 days
VULNERABILITY DETAILS
when the virtual keyboard is displayed and at the same time the navigation is directed to the previous page (history.go(-1)) the virtual keyboard still appears and the color of the minibar above the virtual keyboard becomes dynamic (the color follows the --theme-color of the background color so that the writing in the minibar is the same so that the domain is not visible in this bug I use white color) , leading to a spoof.
OS: Android 15 Device: Samsung A56 Chrome Version: 142.0.7396.0 Canary
Steps to reproduce:
- download detx.html,spoofkeyboard.html in same folder / host detx.html,spoofkeyboard.html on local web server using https:// protocol
- open https://you-can-billowy-nimble-login-secure-docs-google-source-attacker.com/detx.html or open detx.html on local web server using https: protocol
- click the button
- clik the go to google button
What the report shows
This is a Chrome VRP advisory for an incorrect security UI issue in the Omnibox, tracked as CVE-2025-12435 and rated medium severity. The researcher, Hafiizh, reported it against Chrome 142.0.7396.0 Canary on Android 15, on a Samsung A56. The report was disclosed on 28 October 2025 and paid a bounty of 3,000 USD.
The feature under test is the Omnibox, specifically the way it is drawn while the Android virtual keyboard is on screen. The researcher found that when the virtual keyboard is displayed and navigation is at the same time directed to the previous page with history.go(-1), the keyboard stays visible and the colour of the minibar above the keyboard becomes dynamic. That minibar follows the --theme-color of the background colour, so the text in it is drawn in the same colour and the domain is no longer visible. In the report the researcher used white to achieve this, and describes the result as a spoof.
Steps to reproduce, as given:
- download detx.html, spoofkeyboard.html in same folder / host detx.html, spoofkeyboard.html on local web server using https:// protocol
- open https://you-can-billowy-nimble-login-secure-docs-google-source-attacker.com/detx.html or open detx.html on local web server using https: protocol
- click the button
- clik the go to google button
The report does not include the contents of detx.html or spoofkeyboard.html, so the exact markup and script that trigger the state are not shown. The hostname in step 2 is a long, Google-looking name, consistent with a spoofing demonstration.
Root cause
The report points to a UI state problem rather than a memory or parsing flaw. The report does not state a root cause; it describes only the observed UI state. The bar keeps rendering with a theme colour derived from the page background, and because the foreground text colour is tied to that same theme colour, the origin text becomes invisible against the background.
Impact
Within the report's own framing, the impact is a spoof: the domain is not visible in the minibar while the keyboard is up, so a user cannot tell which site they are on. The researcher demonstrates this with a long, Google-looking hostname. The report does not claim anything beyond the spoof, and there is no mention of script execution, data theft or bypass of any other protection. The medium severity and the incorrect security UI classification match that scope.
How this kind of bug works
Browsers show security-relevant UI, such as the origin, lock state and full URL, in several places: the address bar, permission prompts, and on mobile the accessory bar above the keyboard. That UI is trusted precisely because page content cannot normally draw over it or recolour it. Bugs in this class arise when part of that UI takes styling input, directly or indirectly, from the page: theme colours, background colours, or state that is not refreshed when navigation happens.
Two ingredients usually combine. First, a colour or style value that the page can influence reaches a chrome element. Second, a lifecycle gap, such as a same-document or history navigation, a keyboard show/hide transition, or a race between two UI updates, leaves the element in a stale or inconsistent state. When the foreground and background end up the same colour, the origin text is present but unreadable, which is enough for a spoof even though nothing is overwritten.
Defences are structural: chrome UI should never derive security-critical text colour from page-controlled values, contrast should be enforced regardless of theme, and every navigation path, including history traversal, should force the security UI to re-render from the committed document's real origin.
How to test for it
This class is found by exercising UI transitions rather than by sending crafted requests.
- Identify chrome surfaces that display the origin or security state on the platform you are testing: address bar, keyboard accessory bar, permission and autofill prompts, tab switcher previews.
- Look for any documented or observable way page styling reaches those surfaces, such as theme colour metadata or CSS custom properties.
- Drive transitions that change the visible document while the UI is mid-update: back and forward history navigation, keyboard show and hide, rotation, tab switching, and slow or interrupted loads.
- At each step, check whether the origin text is still legible and correct. A positive result is a state where the real origin is hidden, unreadable, or replaced by attacker-chosen text, reproducibly, on a current build.
- Record the exact device, OS and browser version, and keep the proof minimal.
Common false positives: a page that merely looks similar to browser UI but sits inside the viewport (that is ordinary content, not chrome), a theme colour that changes the bar but leaves the origin readable, states that only occur on heavily modified or rooted devices, and one-off glitches that do not reproduce. Confirm the element you are looking at is genuinely browser-drawn before reporting.
How it is fixed
The report does not describe a fix. Regression tests usually cover the keyboard-visible plus back-navigation sequence on affected platforms.
Hunting notes
This kind of bug hides in the seams between page rendering and browser chrome: mobile keyboard accessory bars, custom tabs, PWA windows, fullscreen transitions, and any UI that reads theme or colour metadata. Recon signals worth watching are features that accept page-supplied colours or titles, and platforms where chrome and content share a rendering surface.
To get a report accepted, show a reproducible sequence on a supported build, keep the proof to the minimum needed to demonstrate the hidden or wrong origin, and state the user-facing consequence plainly: the user cannot verify where they are. Avoid overclaiming beyond the spoof unless you can demonstrate more.
What happened, in plain words
This is a security advisory from Google's Chrome Vulnerability Reward Program (VRP), a scheme that pays people for finding and reporting bugs in Chrome. The issue is tracked as CVE-2025-12435, rated medium severity, and was reported by Hafiizh. It affects Chrome 142.0.7396.0 Canary (an early, experimental build of Chrome) on Android 15, on a Samsung A56 phone. It was disclosed on 28 October 2025 and paid a bounty of 3,000 USD.
The feature involved is the Omnibox, the address bar at the top of the browser where the web address (URL) is shown. On Android, when you tap a text field on a web page, a virtual keyboard slides up from the bottom of the screen. Just above that keyboard sits a small bar, which the report calls the minibar. That bar matters for security: it is the browser's own display, not part of the web page, so you are meant to be able to trust it to tell you which site you are really visiting.
The researcher found a way to make the domain name in that minibar invisible. When the virtual keyboard is on screen and the page at the same time navigates back to the previous page using history.go(-1), the keyboard stays visible and the colour of the minibar becomes dynamic: it follows the --theme-color of the background colour, so the text in the bar is drawn in the same colour as its background. The domain can no longer be read. In the report the researcher used white to achieve this, and describes the result as a spoof.
A spoof means making something look like something it is not. Here, a user looking at the bar would see no readable address, so they cannot tell which site they are on, which is exactly what a phishing page wants.
Steps to reproduce, as given in the report:
- download detx.html, spoofkeyboard.html in same folder / host detx.html, spoofkeyboard.html on local web server using https:// protocol
- open https://you-can-billowy-nimble-login-secure-docs-google-source-attacker.com/detx.html or open detx.html on local web server using https: protocol
- click the button
- clik the go to google button
Why each step matters:
- The two HTML files are the test pages that set up the situation. Hosting them over HTTPS means the browser treats them as a normal secure site, which is the realistic case.
- The long hostname in step 2 looks Google-related. The alternative is to open the same file from a local web server.
- The first button is clicked to start the sequence.
- The second button is labelled as going to Google.
The report does not include the contents of detx.html or spoofkeyboard.html, so the exact markup and script that produce the state are not shown.
In general, how this kind of bug works
Browsers show security-relevant information, such as the site's origin (the combination of scheme, host and port that identifies who you are talking to), the padlock, and the full address, in several places: the address bar, permission prompts, and on mobile the bar above the keyboard. That display is trusted precisely because ordinary page content cannot normally draw over it or recolour it. Think of it like the label a shop prints itself versus a sticker a customer brings in: only the shop's own label should be believed.
Bugs in this class appear when part of that trusted display takes styling input, directly or indirectly, from the page: theme colours, background colours, or state that is not refreshed when navigation happens. Two ingredients usually combine:
- A colour or style value that the page can influence reaches a browser-drawn element.
- A timing gap, such as a history navigation, a keyboard show or hide transition, or a race between two updates, leaves the element in a stale or inconsistent state.
When the text and the background end up the same colour, the origin text is still there but unreadable. That is enough for a spoof even though nothing has been overwritten.
The right defences are structural: browser interface elements should never take security-critical text colour from page-controlled values, contrast should be enforced whatever the theme, and every navigation path, including going back through history, should force the security display to redraw from the real origin of the page actually loaded.
In general, how to test for it
This class of bug is found by exercising interface transitions rather than by sending crafted requests.
- Identify the browser surfaces that show the origin or security state on your platform: address bar, keyboard accessory bar, permission and autofill prompts, tab previews.
- Look for any documented or observable way page styling reaches those surfaces, such as theme colour metadata or CSS custom properties.
- Drive transitions that change the visible page while the interface is mid-update: back and forward history navigation, keyboard show and hide, rotation, tab switching, and slow or interrupted loads.
- At each step, check whether the origin text is still legible and correct. A positive result is a state where the real origin is hidden, unreadable, or replaced by attacker-chosen text, reproducibly, on a current build.
- Record the exact device, operating system and browser version, and keep the proof minimal.
Common false positives: a page that merely looks like browser interface but sits inside the page area (that is ordinary content, not browser chrome), a theme colour that changes the bar but leaves the origin readable, states that only occur on heavily modified or rooted devices, and one-off glitches that do not reproduce. Confirm that what you are looking at is genuinely drawn by the browser before reporting.
In general, how it is fixed
The report does not describe a fix. Regression tests usually cover the keyboard-visible plus back-navigation sequence on affected platforms.
Glossary
- Advisory: a public notice describing a security issue and its fix.
- Bounty: money paid by a vendor to someone who reports a valid security bug.
- Browser chrome: the parts of the browser window drawn by the browser itself (address bar, tabs, toolbars), as opposed to the web page content.
- Canary: an early, experimental Chrome build used for testing upcoming changes.
- Contrast: the difference in lightness or colour between text and its background that makes the text readable.
- CSS custom property: a named value in a stylesheet, such as
--theme-color, that can be reused and changed. - CVE: a public identifier assigned to a specific security vulnerability.
- Domain / hostname: the part of a web address that names the site, for example
example.com. - history.go(-1): a browser instruction that navigates back one step in the browsing history, like pressing the back button.
- HTTPS: the encrypted version of the protocol used to load web pages.
- Minibar: in this report, the small bar shown above the Android virtual keyboard that displays the site address.
- Omnibox: Chrome's address bar, which also accepts search terms.
- Origin: the scheme, host and port that together identify which site you are communicating with.
- Phishing: tricking someone into trusting a fake site so they hand over information or credentials.
- Root cause: the underlying reason a bug happens, as opposed to its visible symptom.
- Spoof: making something appear to be something it is not.
- URL: the full address of a web page.
- Virtual keyboard: the on-screen keyboard shown on touch devices.
- VRP (Vulnerability Reward Program): a vendor scheme that rewards people for reporting security bugs.