Inappropriate implementation in Navigation (CVE-2025-0435)
A page can hide the address bar without user interaction by initiating a slow navigation that takes at least 3 seconds, then spoof the address bar within the page. An attacker could trick users into believing they are on a different site.
Originally disclosed on Chrome VRP
- Fix shipped in 58 days
SUMMARY
The address bar can be hidden by a page with no user interaction after 3 seconds. The page can then spoof the address bar within the page.
VULNERABILITY DETAILS
When a page loads and immediately starts a new navigation, if the navigation takes at least 3 seconds, the browser will hide the address bar when the slow navigation is completed.
I've also verified this works for navigations that take over a minute.
Hiding the address bar does not require any user interaction. There are no apparent prerequisites to the navigation (can be directly from address bar, or from another page with/without user interaction).
Expected behavior is that the user needs to be on a page for 3 seconds and then intentionally scroll down to hide the address bar. The observed behavior bypasses the user interaction requirement.
For some reason, the initiating page must have a <style> element for repro (can be empty). Repro also does not work if there is any delay in initiating the navigation, e.g. with setTimeout(..., 0).
Focusing on input fields forces the address bar to show, but a user is more likely to check the address bar before interacting with the page, when the URL spoof is still displayed. (There's a chance a compromised renderer could prevent input focus from showing the address bar, but I'm not certain.)
VERSION
Chrome Version: 133.0.6835.0 Dev, 133.0.6838.0 Canary, 133.0.6844.0 Canary
Only seems to repro on branded Chrome builds. There's no repro on the same Chromium versions above.
Operating System: Android 12
BISECT
I'm still working on a bisect, but this is proving to be tricky since it only seems to repro on branded Chrome builds, not Chromium builds. Bisect so far:
- Does not repro on 132.0.6834.5 Beta, 133.0.6822.0 Dev
- Repros on 133.0.6835.0 Dev, 133.0.6838.0 Canary, 133.0.6844.0 Canary
Based on the 132.0.6834.5 Beta - 133.0.6835.0 Dev range: https://chromium.googlesource.com/chromium/src/+log/e96bb49e536d5d504aba1b56874d190923ba44a2..2014f0f91242702a3fb80c9baae252fb6bec583c/
This seems like a suspect CL, but not certain: https://chromium.googlesource.com/chromium/src/+/0351d764b858cd585f2b0dae27e08e531e091fbb
I'll continue trying to bisect with older branded Canary versions.
I've verified repro and versions above on multiple devices, and AFAICT from chrome://version/?show-variations-cmd my Canary and Dev browsers don't have field trials enabled, so it doesn't seem due to an experiment in Canary/Dev that isn't active in Beta/Stable.
REPRODUCTION CASE
Some aspects of the realistic PoC can be improved, such as matching browser's light/dark mode and hiding spoof on window resize event.
The realistic PoC prevents scrolling up from re-showing the address bar using CSS. The minimal PoC does not prevent scrolling up, so the address bar is easily re-shown.
In these PoCs, the initiator is cross-site from the destination, but the PoCs also work if both the initiator and destination pages are same-origin. This doesn't seem to affect behavior.
Setup for self-hosting (not required for hosted PoCs below):
- Host a slow-loading page that takes at least 3 seconds to load. See attached slow.php and slow-android-hide-address-bar.php for examples.
- Update the initiator pages to navigate to your hosted slow-loading page (instead of the
aogarantiza.com-hosted pages)
Minimal PoC
- Navigate to https://alesandroortiz.com/security/chromium/android-hide-address-bar-minimal.html
- Wait for next page to load.
Realistic PoC
- Navigate to https://alesandroortiz.com/security/chromium/android-hide-address-bar.html
- Wait for next page to load.
For both PoCs:
Observed: When the next page is loaded, the address bar is hidden by the browser.
Expected: The address bar is always shown unless the address bar has been visible for at least 3 seconds since the last navigation and then the user scrolls down the page.
CREDIT INFORMATION
Reporter credit: Alesandro Ortiz https://AlesandroOrtiz.com
Context
Chrome on Android hides the address bar to give pages more vertical space. The intended behaviour is that the bar only disappears after the user has been on a page for at least 3 seconds and then deliberately scrolls down. The address bar is a security indicator: it is where the user checks the origin of the page before typing anything or trusting what is displayed.
This report describes an inappropriate implementation in Chrome's Navigation component, tracked as CVE-2025-0435, in which a page can make the browser hide the address bar with no user interaction at all, and then draw a fake address bar inside the page content. The researcher is Alesandro Ortiz, the report was handled through the Chrome VRP, and it was disclosed on 14 January 2025 with a bounty of 7000 USD and a severity of high.
Setup
The behaviour was reproduced on branded Chrome builds on Android 12, with these versions:
- 133.0.6835.0 Dev
- 133.0.6838.0 Canary
- 133.0.6844.0 Canary
The same Chromium versions did not reproduce the issue, only branded Chrome builds did. The researcher verified the reproduction and the versions on multiple devices. From chrome://version/?show-variations-cmd the Canary and Dev browsers did not have field trials enabled, so the difference did not appear to come from an experiment active in Canary or Dev but not in Beta or Stable.
A bisect was started but proved tricky for the same reason: it only reproduced on branded builds. The results so far:
- Does not reproduce on 132.0.6834.5 Beta or 133.0.6822.0 Dev
- Reproduces on 133.0.6835.0 Dev, 133.0.6838.0 Canary and 133.0.6844.0 Canary
Within the 132.0.6834.5 Beta to 133.0.6835.0 Dev range the researcher pointed at the commit log for that interval and flagged one change as a suspect, without being certain:
https://chromium.googlesource.com/chromium/src/+log/[redacted]..[redacted]/
https://chromium.googlesource.com/chromium/src/+/[redacted]
Finding it
The researcher noticed that when a page loads and immediately starts a new navigation, and that navigation takes at least 3 seconds, the browser hides the address bar once the slow navigation completes. Navigations taking over a minute were also verified to work.
Hiding the bar requires no user interaction. There are no apparent prerequisites on how the navigation is started: it can come directly from the address bar, or from another page, with or without user interaction. The expected behaviour is that the user must be on a page for 3 seconds and then intentionally scroll down before the bar hides. The observed behaviour bypasses the user interaction requirement entirely.
Two conditions were found while reducing the case. The initiating page must contain a <style> element for the reproduction to work, though the element can be empty. The reproduction also fails if there is any delay in starting the navigation, for example with setTimeout(..., 0).
Focusing an input field forces the address bar to show again, but a user is more likely to check the address bar before interacting with the page, while the spoofed URL is still displayed. The researcher notes there is a chance a compromised renderer could prevent input focus from showing the address bar, but was not certain of it.
Exploitation
Step 1: prepare a slow-loading destination
Host a page that takes at least 3 seconds to load. The report refers to two attached examples, slow.php and slow-android-hide-address-bar.php, for this purpose. The hosted proof-of-concept pages below already use such a destination; self-hosting is optional.
Step 2: prepare the initiator page
If self-hosting, update the initiator pages so they navigate to your own slow-loading page instead of the aogarantiza.com-hosted pages. The initiator must contain a <style> element, which may be empty, and must start the navigation immediately, without a setTimeout or similar delay.
Step 3: run the minimal proof of concept
- Navigate to the minimal page:
https://alesandroortiz.com/security/chromium/android-hide-address-bar-minimal.html
- Wait for the next page to load.
When the next page finishes loading, the browser has hidden the address bar. The minimal proof of concept does not prevent scrolling up, so the address bar is easily shown again.
Step 4: run the realistic proof of concept
- Navigate to the realistic page:
https://alesandroortiz.com/security/chromium/android-hide-address-bar.html
- Wait for the next page to load.
The realistic proof of concept prevents scrolling up from re-showing the address bar using CSS, and can be improved further by matching the browser's light or dark mode and by hiding the spoof on the window resize event. The page can then spoof the address bar within the page.
In both proofs of concept the initiator is cross-site from the destination, but they also work when the initiator and destination are same-origin, which does not appear to affect the behaviour.
For both proofs of concept the observed result is that the address bar is hidden by the browser when the next page loads. The expected result is that the address bar is always shown unless it has been visible for at least 3 seconds since the last navigation and the user then scrolls down the page.
Root cause
The report does not identify the faulty code. What it establishes is the trigger: a navigation started immediately on page load, taking at least 3 seconds, causes the address bar to be hidden on completion, as if the dwell-time and scroll conditions had been met. The report does not say which code path is responsible. The suspect change in the bisect range is offered as a possibility only.
The observed behaviour bypasses the user interaction requirement.
Impact
An attacker can hide the address bar without any user interaction and then spoof the address bar within the page, so the user sees a URL of the attacker's choosing where the real one should be. The user is most exposed before interacting with the page, because focusing an input field brings the real address bar back. The researcher raises, without being certain, the possibility that a compromised renderer could stop input focus from showing the bar. The issue was rated high severity.
Fix
The report does not describe the fix.
Variants to test
- Start a navigation immediately on page load to a destination that takes 3 seconds or more, from the address bar and from a link, with and without user interaction. A positive result is the address bar hidden on arrival at the destination.
- Repeat with a navigation that takes over a minute. A positive result is the same hidden bar, showing the timing is not bounded.
- Add an empty
<style>element to the initiator, then remove it. A positive result is that the reproduction only works with the element present. - Introduce
setTimeout(..., 0)before starting the navigation. A positive result is that the reproduction stops working, confirming the timing dependency. - Make the initiator same-origin with the destination instead of cross-site. A positive result is that the behaviour is unchanged.
- On the hidden page, scroll up and then focus an input field. A positive result is that scrolling up re-shows the bar only in the minimal case, and that focusing an input forces the bar to show.
- Compare branded Chrome builds against Chromium builds of the same version on Android. A positive result is reproduction only on the branded build.
What happened, in plain words
When you use Chrome on an Android phone, the browser sometimes hides the address bar (the strip at the top that shows the web address, like https://example.com) so that a web page gets more room on the small screen. The address bar is not just decoration: it is the place where you check which website you are actually on before you type a password, enter a card number or believe what the page tells you. If a page can make that bar disappear and then paint a fake one in its place, it can pretend to be a different website.
The normal rule is that the bar only hides after two things happen: you have been on the page for at least 3 seconds, and then you deliberately scroll down. Both of those are signs that you chose to stay and read. This report describes a bug where a page can make the bar hide with no action from you at all, and then draw a fake address bar inside the page content. The bug is tracked as CVE-2025-0435. A CVE is a public catalogue number given to a known security flaw so people can refer to it unambiguously. The flaw is classed as an "inappropriate implementation" in Chrome's Navigation component, which is the part of the browser that handles moving from one page to another. The researcher is Alesandro Ortiz, the report went through the Chrome VRP (Vulnerability Reward Program, Google's scheme that pays people for reporting bugs), and it was disclosed on 14 January 2025 with a bounty of 7000 USD and a severity of high.
Setup
The behaviour was reproduced on branded Chrome builds on Android 12. "Branded" means the official Chrome app that Google ships, as opposed to Chromium, the open-source browser project that Chrome is built from. The versions were:
- 133.0.6835.0 Dev
- 133.0.6838.0 Canary
- 133.0.6844.0 Canary
Dev and Canary are early test channels: Canary is the most experimental, Dev sits just behind it, and both get changes long before the Stable release most people use. The same Chromium versions did not reproduce the issue, only branded Chrome builds did. The researcher verified the reproduction and the versions on multiple devices. From chrome://version/?show-variations-cmd the Canary and Dev browsers did not have field trials enabled. A field trial is a way for Google to switch a feature on for a random slice of users to test it; the page above lists which trials a browser is enrolled in. Because none were active, the difference did not appear to come from an experiment active in Canary or Dev but not in Beta or Stable.
A bisect was started but proved tricky for the same reason: it only reproduced on branded builds. A bisect is a search through the history of code changes to find the exact change that introduced a bug: you test the middle of a range, see whether the bug is there, and keep halving the range. The results so far:
- Does not reproduce on 132.0.6834.5 Beta or 133.0.6822.0 Dev
- Reproduces on 133.0.6835.0 Dev, 133.0.6838.0 Canary and 133.0.6844.0 Canary
Within the 132.0.6834.5 Beta to 133.0.6835.0 Dev range the researcher pointed at the commit log for that interval and flagged one change as a suspect, without being certain. A commit is a saved set of code changes; a commit log is the list of them. The first link below is the list of all commits between two points in the code history, and the second is one specific change inside that range:
https://chromium.googlesource.com/chromium/src/+log/[redacted]..[redacted]/
This is a URL to Google's source-code hosting for the Chromium project. The two long strings of letters and numbers are commit identifiers: unique fingerprints for two points in the project's history. The +log/ part asks the site to show every commit made between the first and the second. The researcher used it to narrow down which changes landed in the window where the bug first appeared.
https://chromium.googlesource.com/chromium/src/+/[redacted]
This URL points at one single commit, identified by the string after +/. It is the change the researcher thought might be responsible, offered as a possibility only.
Finding it
The researcher noticed that when a page loads and immediately starts a new navigation, and that navigation takes at least 3 seconds, the browser hides the address bar once the slow navigation completes. A navigation is simply the browser moving from one page to another, whether you typed an address, tapped a link, or the page itself sent you onward. Navigations taking over a minute were also verified to work.
Hiding the bar requires no user interaction. There are no apparent prerequisites on how the navigation is started: it can come directly from the address bar, or from another page, with or without user interaction. The expected behaviour is that the user must be on a page for 3 seconds and then intentionally scroll down before the bar hides. The observed behaviour bypasses the user interaction requirement entirely.
Two conditions were found while reducing the case. "Reducing" means shrinking a proof of concept (a small demonstration that the bug is real) down to the fewest possible pieces, so the cause is easier to see. The initiating page must contain a <style> element for the reproduction to work, though the element can be empty. A <style> element is the part of a web page that holds formatting rules, such as colours and sizes; an empty one holds no rules at all. The reproduction also fails if there is any delay in starting the navigation, for example with setTimeout(..., 0). setTimeout is a built-in browser function that runs a piece of code after a given number of milliseconds; 0 means "as soon as possible, but not right now", which is still a delay.
Focusing an input field forces the address bar to show again. An input field is a box on a page where you type, such as a search box or a password box, and focusing it means tapping it so it becomes active. But a user is more likely to check the address bar before interacting with the page, while the spoofed URL is still displayed. The researcher notes there is a chance a compromised renderer could prevent input focus from showing the address bar, but was not certain of it. The renderer is the part of the browser that turns a page's code into what you see and handles its scripts; if an attacker has already broken into it, it might be able to interfere with browser behaviour.
Exploitation
Step 1: prepare a slow-loading destination
Host a page that takes at least 3 seconds to load. "Host" means putting a file on a web server so it has a public address others can visit. The report refers to two attached examples, slow.php and slow-android-hide-address-bar.php, for this purpose. The hosted proof-of-concept pages below already use such a destination; self-hosting is optional.
Step 2: prepare the initiator page
If self-hosting, update the initiator pages so they navigate to your own slow-loading page instead of the aogarantiza.com-hosted pages. The initiator is the page you land on first, the one that sends you onward. It must contain a <style> element, which may be empty, and must start the navigation immediately, without a setTimeout or similar delay. The reason for both conditions is the same: they are the exact circumstances under which the bug appears, so a test that leaves them out will not show it.
Step 3: run the minimal proof of concept
- Navigate to the minimal page:
https://alesandroortiz.com/security/chromium/android-hide-address-bar-minimal.html
This is the address of the smallest demonstration the researcher built. Opening it in the affected Chrome on Android starts the chain: the page immediately sends the browser to a slow destination, and when that destination finally arrives the address bar is gone.
- Wait for the next page to load.
When the next page finishes loading, the browser has hidden the address bar. The minimal proof of concept does not prevent scrolling up, so the address bar is easily shown again. Scrolling up is the normal gesture that brings the bar back, which is why the minimal version is only enough to prove the hiding happens.
Step 4: run the realistic proof of concept
- Navigate to the realistic page:
https://alesandroortiz.com/security/chromium/android-hide-address-bar.html
This is the fuller demonstration. It uses the same trick but adds styling so the page behaves more like something an attacker would actually deploy.
- Wait for the next page to load.
The realistic proof of concept prevents scrolling up from re-showing the address bar using CSS. CSS is the language that describes how a page looks, and here it is used to stop the scroll gesture from having its usual effect. It can be improved further by matching the browser's light or dark mode and by hiding the spoof on the window resize event. Light and dark mode matter because a fake address bar in the wrong colour looks obviously fake. A resize event is a signal the browser sends when the window changes size. With the bar hidden and unable to be brought back by scrolling, the page can draw a fake address bar inside the page content.
In both proofs of concept the initiator is cross-site from the destination, but they also work when the initiator and destination are same-origin, which does not appear to affect the behaviour. "Origin" means the combination of scheme, host and port, roughly the site's identity; cross-site means two different sites, same-origin means the same one. Testing both shows the bug does not depend on where the pages live.
For both proofs of concept the observed result is that the address bar is hidden by the browser when the next page loads. The expected result is that the address bar is always shown unless it has been visible for at least 3 seconds since the last navigation and the user then scrolls down the page.
Root cause
The report does not identify the faulty code. What it establishes is the trigger: a navigation started immediately on page load, taking at least 3 seconds, causes the address bar to be hidden on completion, as if the dwell-time and scroll conditions had been met. Dwell time is simply how long you have stayed on a page. The report does not say which code path is responsible. "Committed" here means the browser has accepted a page as the current one and started showing it. The suspect change in the bisect range is offered as a possibility only.
The observed behaviour bypasses the user interaction requirement.
Impact
An attacker can hide the address bar without any user interaction and then spoof the address bar within the page, so the user sees a URL of the attacker's choosing where the real one should be. The user is most exposed before interacting with the page, because focusing an input field brings the real address bar back. The researcher raises, without being certain, the possibility that a compromised renderer could stop input focus from showing the bar. The issue was rated high severity.
Fix
The report does not describe the fix.
Variants to test
These are follow-up checks to map the edges of the bug. Each one changes a single thing and states what a positive result looks like.
- Start a navigation immediately on page load to a destination that takes 3 seconds or more, from the address bar and from a link, with and without user interaction. A positive result is the address bar hidden on arrival at the destination.
- Repeat with a navigation that takes over a minute. A positive result is the same hidden bar, showing the timing is not bounded.
- Add an empty
<style>element to the initiator, then remove it. A positive result is that the reproduction only works with the element present. - Introduce
setTimeout(..., 0)before starting the navigation. A positive result is that the reproduction stops working, confirming the timing dependency. - Make the initiator same-origin with the destination instead of cross-site. A positive result is that the behaviour is unchanged.
- On the hidden page, scroll up and then focus an input field. A positive result is that scrolling up re-shows the bar only in the minimal case, and that focusing an input forces the bar to show.
- Compare branded Chrome builds against Chromium builds of the same version on Android. A positive result is reproduction only on the branded build.
Glossary
- Address bar: the strip at the top of a browser that shows the current web address and where you type a new one.
- Android: Google's operating system for phones and tablets.
- API: a defined way for one piece of software to ask another to do something, like a menu of allowed requests.
- Bisect: searching through code history by repeatedly halving a range to find the change that introduced a bug.
- Branded Chrome: the official Chrome app built and released by Google, as opposed to the open-source Chromium browser.
- Canary: the most experimental Chrome release channel, updated most often.
- Commit: a saved set of code changes in a project's history.
- Commit log: the list of commits made to a project, optionally between two points.
- Committed (page): the point at which the browser accepts a page as current and starts displaying it.
- Cross-site / same-origin: whether two pages belong to different sites or to the same site (same scheme, host and port).
- CSS: the language that describes how a web page looks.
- CVE: a public catalogue number for a known security flaw.
- Dev: an early Chrome release channel, less experimental than Canary.
- Dwell time: how long a user has stayed on a page.
- Field trial: a way to switch a feature on for a random subset of users to test it.
- Focus (an input field): making a typing box active by tapping it.
- Host: to place a file on a web server so it can be visited by address.
- Input field: a box on a page where the user types text.
- Navigation: the browser moving from one page to another.
- Origin: a site's identity, made of scheme, host and port.
- PHP: a programming language commonly used on web servers.
- Proof of concept (PoC): a small demonstration that a bug is real.
- Reducing: shrinking a proof of concept to the fewest pieces needed to show the bug.
- Renderer: the part of the browser that turns page code into what you see and runs its scripts.
- Resize event: a signal the browser sends when a window changes size.
- setTimeout: a browser function that runs code after a given delay in milliseconds.
- Severity: a rating of how serious a flaw is.
- Spoof: a fake version of something real, here a fake address bar showing a URL of the attacker's choosing.
- Stable / Beta: the normal Chrome release channel and the test channel just before it.
<style>element: the part of a page that holds formatting rules; it can be empty.- VRP: Vulnerability Reward Program, a scheme that pays researchers for reporting bugs.