Skip to content
Race condition Advisory Advanced CVE-2026-11219

Insufficient data validation in Navigation (CVE-2026-11219)

After a cross-origin navigation, the previous document continues executing JavaScript for a short window and can call history.back() to regain control of the tab. An attacker could use this to force the user back to a phishing page without interaction.

Bharat Follow

Originally disclosed on Chrome VRP

Bounty$2,000 Low View original
  • Fix shipped in 4 months
# Steps to reproduce the problem
Steps to Reproduce

(Optional) Start the Node.js webhook server for logging.

Serve the provided PoCs (PoC-redir.html and PoC-listener.html) using any HTTP server (not file://).

Open PoC-listener.html in Chrome Stable.

Trigger a cross-origin navigation using any of the following methods:

Click the provided link

Type a new URL in the address bar and press Enter

Drag the link to the tab bar

Wait ~2 seconds after navigation completes.

�
 Expected Behavior

After a cross-origin navigation fully commits:

The previous document should be frozen (BFCache) or destroyed.

No JavaScript should execute.

History APIs such as history.back() or history.go() should not be callable.

The old document must not regain control of the tab.

❌ Actual Behavior

After navigation completes:

The previous document continues executing JavaScript for approximately 2–3 seconds.

The page is able to call history.back() and regain control of the tab without user interaction.

Chrome DevTools reports the page being restored from BFCache, but the page is still able to execute code before freeze occurs.

Observed console message:

Navigation to PoC-listener.html was restored from back/forward cache

Despite this, the previous document executes code and triggers automatic navigation back to the attacker-controlled page.

📄 PoC Behavior Details
PoC-redir.html

Uses two setTimeout(1ms) calls to trigger navigation and execute code before unload.

Allows the previous page to retain access to APIs such as localStorage after navigation has committed.

PoC-listener.html

Uses the pagehide event to execute code after navigation begins.

Demonstrates that the issue is not limited to programmatic navigation.

Works with:

Link clicks

Address bar navigation

Drag-and-drop navigation

This method is more realistic for real-world abuse.Additional Observations

requestAnimationFrame fires once after navigation.

Network requests initiated by the old document appear as permanently pending in the new page’s Network tab.

Request origin remains attributed to the original document.

Behavior is reproducible in:

Incognito mode

Fresh Chrome installation

rel=noopener does not mitigate this issue because it occurs in the same browsing context.

⚠ Security Impact

This allows a navigated-away document to:

Regain control of the active tab without user interaction.

Manipulate browser history using history.go(n) and history.back().

Perform phishing-style tab hijacking by forcing navigation back to attacker-controlled content.

This breaks the expected navigation lifecycle security guarantees.

# Problem Description
After a cross-origin navigation fully commits, the previous document is expected to be frozen (BFCache) or destroyed and must no longer be able to execute JavaScript or invoke browser APIs such as History. However, the previous page continues executing JavaScript for approximately 2–3 seconds after navigation has completed.

During this post-navigation window, the old document is able to call history.back() and regain control of the active tab without any user interaction. This behavior occurs even though Chrome reports the page as being restored from the back/forward cache. This indicates that there is a lifecycle race window where the document remains partially active before being frozen.

This issue is reproducible using both timer-based execution (PoC-redir.html) and event-based execution using the pagehide event (PoC-listener.html). The listener-based PoC demonstrates that the behavior is not limited to programmatic navigation and can also be triggered using normal user navigation methods such as clicking links, typing URLs in the address bar, or dragging links to the tab bar.

Additional observations show that requestAnimationFrame fires once after navigation, and network requests initiated by the old document appear as permanently pending in the new page’s Network tab while retaining the original origin attribution.

The issue is reproducible on a fresh Chrome installation and in Incognito mode without any extensions. The behavior does not rely on window.open or opener relationships and occurs in the same browsing context, making rel=noopener ineffective as a mitigation.

This behavior breaks the expected navigation lifecycle security guarantees. A navigated-away document should not retain the ability to execute code or manipulate browser history. The current behavior enables phishing-style tab hijacking attacks by allowing an attacker-controlled page to force navigation back to itself after the user has already navigated to a trusted cross-origin site.

# Summary
Previous page executes JS after navigation, allowing history.back() tab hijack

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Insufficient data validation in Navigation (CVE-2026-11219)

Context

This is a Chrome VRP report against Chrome's navigation lifecycle, specifically the handling of a document that has just been navigated away from. The normal contract is simple: once a cross-origin navigation fully commits, the previous document is either frozen into the back/forward cache (BFCache) or destroyed. In either state it must no longer execute JavaScript, must not be able to call History APIs such as history.back() or history.go(), and must not be able to regain control of the tab.

The report was filed by Bharat (mrnoob), rated low severity, and paid a 2000 USD bounty. It was disclosed on 2026-06-02 under the weakness "Insufficient data validation" in the Navigation component.

Setup

The setup is deliberately minimal: the report says the issue reproduces on a fresh Chrome installation and in Incognito mode without extensions.

  1. Optionally start a Node.js webhook server for logging.
  2. Serve the two proof-of-concept files, PoC-redir.html and PoC-listener.html, over HTTP with any HTTP server. They must not be opened via file://.
  3. Open PoC-listener.html in Chrome Stable.

The report states the issue reproduces in Incognito mode and on a fresh Chrome installation. It does not give a specific Chrome version number.

Finding it

The researcher observed that after a cross-origin navigation completes, the previous document keeps running JavaScript for roughly 2 to 3 seconds. During that window it can call history.back() and pull the tab back to itself without any user interaction.

What makes this look like a lifecycle bug rather than expected behaviour is the contradiction with what DevTools reports. Chrome logs that the page was restored from the back/forward cache:

Text
Navigation to PoC-listener.html was restored from back/forward cache

A page in BFCache is supposed to be frozen. Here the page is reported as restored from BFCache while still executing code before the freeze happens, which points at a race window in the navigation lifecycle where the document remains partially active.

Exploitation

Step 1: Serve the PoCs over HTTP

Both files are served by any HTTP server, not from file://. The report does not include the server command or the file contents, only the behaviour of each file.

Step 2: Open the listener page

PoC-listener.html is opened in Chrome Stable. This is the page that will be navigated away from.

Step 3: Trigger a cross-origin navigation

Any of the following user actions works:

  1. Click the provided link.
  2. Type a new URL in the address bar and press Enter.
  3. Drag the link to the tab bar.

Step 4: Wait about 2 seconds

After the navigation completes, wait roughly 2 seconds. The previous document executes code in that window and triggers an automatic navigation back to the attacker-controlled page.

What each PoC does

PoC-redir.html uses two setTimeout(1ms) calls to trigger navigation and execute code before unload. It allows the previous page to retain access to APIs such as localStorage after navigation has committed.

PoC-listener.html uses the pagehide event to execute code after navigation begins. Because it hooks a lifecycle event rather than relying on a timer, it demonstrates that the issue is not limited to programmatic navigation and works with link clicks, address bar navigation and drag-and-drop navigation. The report calls this the more realistic method for real-world abuse.

Additional observations during exploitation

  • requestAnimationFrame fires once after navigation.
  • Network requests initiated by the old document appear as permanently pending in the new page's Network tab.
  • The request origin remains attributed to the original document.
  • rel=noopener does not mitigate the issue, because it occurs in the same browsing context.

Root cause

The report frames the cause as a lifecycle race window: after a cross-origin navigation commits, the old document is not immediately frozen or destroyed, and for approximately 2 to 3 seconds it remains partially active. In that window it can still run JavaScript and invoke History APIs. The DevTools message showing the page restored from BFCache while code still executes before the freeze is the visible symptom of that race.

Existing defences do not help here. rel=noopener only severs the opener relationship between windows; this issue happens inside the same browsing context, so there is no opener relationship to sever. The report does not identify the specific code path in Chrome responsible for the window, so the exact defect is not stated.

Impact

A navigated-away document can:

  • Regain control of the active tab without user interaction.
  • Manipulate browser history using history.go(n) and history.back().
  • Perform phishing-style tab hijacking by forcing navigation back to attacker-controlled content.

In practical terms, a user who has already navigated from an attacker page to a trusted cross-origin site can be pulled back to the attacker's page after roughly 2 to 3 seconds. The report describes this as breaking the expected navigation lifecycle security guarantees. It is rated low severity.

Fix

The report does not describe a fix or a patch. What it argues for is the expected behaviour: once a cross-origin navigation fully commits, the previous document should be frozen or destroyed immediately, with no JavaScript execution and no History API access afterwards. The report states the expected behaviour: the previous document should be frozen or destroyed once the navigation commits.

Variants to test

  • Other lifecycle events. The report shows pagehide and timer-based execution. Try visibilitychange, freeze, unload and beforeunload handlers that call history.back(); a positive result is the tab returning to the old page without user interaction after the navigation commits.
  • Other navigation triggers. The report covers link clicks, address bar entry and drag to the tab bar. Try form submissions, location.assign, meta refresh and server-side redirects; a positive result is the same post-navigation execution window.
  • Other History operations. Beyond history.back(), try history.go(n) with positive and negative offsets; a positive result is the tab moving through history from the old document after commit.
  • Storage access after commit. The report notes localStorage remains reachable from the old document. Check sessionStorage, IndexedDB and cookies from the old document after the new page has loaded; a positive result is a successful read or write attributed to the old origin.
  • Timing boundaries. The window is described as approximately 2 to 3 seconds. Measure how long code keeps running after commit on different machines and channel builds; a positive result is any consistent execution after the new document is visible.
  • BFCache interaction. Watch DevTools for the restore message while the old document still executes; a positive result is the same contradiction between the reported BFCache state and live execution.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 13 min read.

What happened, in plain words

Imagine you are reading a page on a website. You click a link to go to a different website, say your bank. The moment the bank page appears, you expect the old page to be gone: it should not be able to do anything, and it certainly should not be able to pull you back to where you came from. That is the normal rule of how browsers work.

This report shows that in Chrome, for a short time after you have moved to the new site, the old page can still run code. During that time it can use a browser feature called the History API to send you back to itself, without you clicking anything. The researcher who found it demonstrated this with two small test pages, and Chrome's own developer tools even said the old page had been put into a kind of sleep called the back/forward cache, yet it was still running code. The report was rated low severity and paid a 2000 USD bounty. It was disclosed on 2026-06-02 under the weakness "Insufficient data validation" in the Navigation component.

Context

This is a report filed through Chrome's Vulnerability Reward Program (VRP), a scheme where people who find security bugs in Chrome can report them and sometimes get paid. The target is Chrome's navigation lifecycle: the sequence of events that happens when you move from one web page to another.

The normal contract is simple: once a cross-origin navigation fully commits, the previous document is either frozen into the back/forward cache (BFCache) or destroyed. Let us unpack that.

  • A document is what the browser calls a single web page that is loaded in a tab. When you go to a new page, the old document is the one you are leaving.
  • A cross-origin navigation means moving from a page on one website to a page on a different website. "Origin" is the combination of protocol (like https), host (like example.com) and port. Two pages from different origins are not allowed to freely access each other's data; that separation is a core security rule in browsers.
  • Commits means the browser has decided to show the new page and has started the process of replacing the old one. It is the point of no return for the navigation.
  • Frozen means the page is paused and cannot run any code. The back/forward cache (BFCache) is a Chrome feature that keeps a page in memory when you navigate away, so that if you press the Back button it can be shown again instantly. While in BFCache, the page must be frozen: no JavaScript, no access to browser features.
  • Destroyed means the page is completely removed from memory.

In either state, the old document must no longer execute JavaScript, must not be able to call History APIs such as history.back() or history.go(), and must not be able to regain control of the tab. The History API is a set of JavaScript functions that let a page move you through your browsing history, for example going back to the previous page. history.back() is like pressing the Back button; history.go(n) moves n steps forward or backward.

The report was filed by Bharat (mrnoob), rated low severity, and paid a 2000 USD bounty.

Setup

The setup is deliberately minimal: the report says the issue reproduces on a fresh Chrome installation and in Incognito mode without extensions.

  1. Optionally start a Node.js webhook server for logging. A webhook server is a small program that listens for incoming requests and records them, so you can see what the browser sent. Node.js is a runtime that lets you run JavaScript outside the browser. This step is optional; it is just for observing.
  2. Serve the two proof-of-concept files, PoC-redir.html and PoC-listener.html, over HTTP with any HTTP server. They must not be opened via file://. A proof-of-concept (PoC) is a small, minimal example that demonstrates a bug. HTTP is the protocol browsers use to fetch web pages. file:// is a way to open a file directly from your disk; pages opened that way have different security rules, so the test must be served over HTTP to be realistic.
  3. Open PoC-listener.html in Chrome Stable. Chrome Stable is the normal, released version of Chrome that most people use, as opposed to experimental builds.

The report states the issue reproduces in Incognito mode and on a fresh Chrome installation. Incognito mode is a private browsing window that does not keep history or cookies after you close it. A fresh Chrome installation means Chrome with no extensions or custom settings. It does not give a specific Chrome version number.

Finding it

The researcher observed that after a cross-origin navigation completes, the previous document keeps running JavaScript for roughly 2 to 3 seconds. During that window it can call history.back() and pull the tab back to itself without any user interaction.

What makes this look like a lifecycle bug rather than expected behaviour is the contradiction with what DevTools reports. DevTools (Developer Tools) is a built-in panel in Chrome, opened with F12, that shows technical details about the page, including console messages. Chrome logs that the page was restored from the back/forward cache:

Text
Navigation to PoC-listener.html was restored from back/forward cache

This is a single line of text that Chrome prints in the DevTools console. It says that the page named PoC-listener.html was brought back from the back/forward cache. A page in BFCache is supposed to be frozen. Here the page is reported as restored from BFCache while still executing code before the freeze happens, which points at a race window in the navigation lifecycle where the document remains partially active. A race window is a short period where two things happen at almost the same time and the order is not guaranteed; here, the freeze and the code execution are racing, and the code wins for a moment.

Exploitation

Step 1: Serve the PoCs over HTTP

Both files are served by any HTTP server, not from file://. The report does not include the server command or the file contents, only the behaviour of each file. Serving over HTTP is important because it mimics a real website; opening from disk would not test the same conditions.

Step 2: Open the listener page

PoC-listener.html is opened in Chrome Stable. This is the page that will be navigated away from. This is the page that will be navigated away from in the demonstration.

Step 3: Trigger a cross-origin navigation

Any of the following user actions works:

  1. Click the provided link.
  2. Type a new URL in the address bar and press Enter.
  3. Drag the link to the tab bar.

These are all normal ways a user might leave a page. The point is that the bug is not limited to some special scripted action; it happens with ordinary browsing.

Step 4: Wait about 2 seconds

After the navigation completes, wait roughly 2 seconds. The previous document executes code in that window and triggers an automatic navigation back to the attacker-controlled page. In other words, you land on the new site, and about two seconds later you are pulled back to the old one without touching anything.

What each PoC does

PoC-redir.html uses two setTimeout(1ms) calls to trigger navigation and execute code before unload. setTimeout is a JavaScript function that runs a piece of code after a delay; here the delay is 1 millisecond. It allows the previous page to retain access to APIs such as localStorage after navigation has committed. localStorage is a browser storage area where a website can save data on your computer, and it is tied to the website's origin. Retaining access means the old page can still read or write its stored data even after you have moved to another site.

PoC-listener.html uses the pagehide event to execute code after navigation begins. An event is a signal that something happened, and a page can register a function to run when that signal fires. pagehide is an event that fires when the page is being hidden, for example when you navigate away. Because it hooks a lifecycle event rather than relying on a timer, it demonstrates that the issue is not limited to programmatic navigation and works with link clicks, address bar navigation and drag-and-drop navigation. The report calls this the more realistic method for real-world abuse.

Additional observations during exploitation

  • requestAnimationFrame fires once after navigation. requestAnimationFrame is a JavaScript function that asks the browser to run a function just before the next screen repaint; it is normally used for smooth animations. Firing after navigation means the old page still gets a chance to run code.
  • Network requests initiated by the old document appear as permanently pending in the new page's Network tab. A network request is when the browser asks a server for something, like an image or data. The Network tab in DevTools lists these requests. "Permanently pending" means they never finish, which is unusual and shows the old page is still trying to do things.
  • The request origin remains attributed to the original document. In other words, the browser still thinks these requests come from the old website, not the new one.
  • rel=noopener does not mitigate the issue, because it occurs in the same browsing context. rel=noopener is an attribute you can put on a link to prevent the new page from having a reference back to the old page through a JavaScript object called window.opener. A browsing context is a tab or a window where a page is displayed. Here the problem happens inside the same tab, so there is no separate window relationship to cut.

Root cause

The report frames the cause as a lifecycle race window: after a cross-origin navigation commits, the old document is not immediately frozen or destroyed, and for approximately 2 to 3 seconds it remains partially active. In that window it can still run JavaScript and invoke History APIs. The DevTools message showing the page restored from BFCache while code still executes before the freeze is the visible symptom of that race.

Existing defences do not help here. rel=noopener only severs the opener relationship between windows; this issue happens inside the same browsing context, so there is no opener relationship to sever. The report does not identify the specific code path in Chrome responsible for the window, so the exact defect is not stated.

Impact

A navigated-away document can:

  • Regain control of the active tab without user interaction.
  • Manipulate browser history using history.go(n) and history.back().
  • Perform phishing-style tab hijacking by forcing navigation back to attacker-controlled content.

Phishing is when an attacker tricks you into thinking you are on a trusted site to steal information. Tab hijacking here means the attacker's page takes over your tab and sends you somewhere you did not choose. In practical terms, a user who has already navigated from an attacker page to a trusted cross-origin site can be pulled back to the attacker's page after roughly 2 to 3 seconds. The report describes this as breaking the expected navigation lifecycle security guarantees. It is rated low severity.

Fix

The report does not describe a fix or a patch. What it argues for is the expected behaviour: once a cross-origin navigation fully commits, the previous document should be frozen or destroyed immediately, with no JavaScript execution and no History API access afterwards. The report states the expected behaviour: the previous document should be frozen or destroyed once the navigation commits.

Variants to test

  • Other lifecycle events. The report shows pagehide and timer-based execution. Try visibilitychange, freeze, unload and beforeunload handlers that call history.back(); a positive result is the tab returning to the old page without user interaction after the navigation commits. These are other events a page can listen to; testing them checks whether the same window exists through different triggers.
  • Other navigation triggers. The report covers link clicks, address bar entry and drag to the tab bar. Try form submissions, location.assign, meta refresh and server-side redirects; a positive result is the same post-navigation execution window. location.assign is a JavaScript way to navigate to a URL; a meta refresh is an HTML tag that tells the browser to reload or go to another page after a delay; a server-side redirect is when the server responds with an instruction to go to a different URL.
  • Other History operations. Beyond history.back(), try history.go(n) with positive and negative offsets; a positive result is the tab moving through history from the old document after commit.
  • Storage access after commit. The report notes localStorage remains reachable from the old document. Check sessionStorage, IndexedDB and cookies from the old document after the new page has loaded; a positive result is a successful read or write attributed to the old origin. sessionStorage is like localStorage but cleared when the tab closes; IndexedDB is a more powerful database in the browser; cookies are small pieces of data websites store in your browser, often used to keep you logged in.
  • Timing boundaries. The window is described as approximately 2 to 3 seconds. Measure how long code keeps running after commit on different machines and channel builds; a positive result is any consistent execution after the new document is visible. Channel builds are different release tracks of Chrome, such as Beta or Dev.
  • BFCache interaction. Watch DevTools for the restore message while the old document still executes; a positive result is the same contradiction between the reported BFCache state and live execution.

Glossary

  • API: A set of functions a program can use to ask another program or the browser to do something, like a menu of commands.
  • Back/forward cache (BFCache): A Chrome feature that keeps a page in memory when you navigate away so it can be shown instantly if you go back; the page is supposed to be frozen while stored.
  • Bounty: A payment made to someone who reports a security bug.
  • Browsing context: A tab or window where a web page is displayed.
  • Channel builds: Different release tracks of Chrome, such as Stable, Beta, Dev and Canary.
  • Chrome Stable: The normal, released version of Chrome that most people use.
  • Commit (navigation): The point where the browser has decided to show the new page and starts replacing the old one.
  • Cookie: A small piece of data a website stores in your browser, often used to remember you or keep you logged in.
  • Cross-origin navigation: Moving from a page on one website to a page on a different website, where origin is the combination of protocol, host and port.
  • DevTools: A built-in panel in Chrome, opened with F12, that shows technical details about the page.
  • Document: A single web page loaded in a tab.
  • Event: A signal that something happened, which a page can listen for and respond to with code.
  • file://: A way to open a file directly from your disk in the browser, with different security rules than HTTP.
  • Frozen: A state where a page is paused and cannot run any code.
  • History API: JavaScript functions that let a page move you through your browsing history, such as history.back() and history.go(n).
  • HTTP: The protocol browsers use to fetch web pages from servers.
  • Incognito mode: A private browsing window that does not keep history or cookies after you close it.
  • IndexedDB: A database built into the browser that websites can use to store larger amounts of data.
  • JavaScript: The programming language that runs in web pages and makes them interactive.
  • localStorage: A browser storage area where a website can save data on your computer, tied to the website's origin.
  • meta refresh: An HTML tag that tells the browser to reload or go to another page after a delay.
  • Network request: When the browser asks a server for something, like an image or data.
  • Network tab: A part of DevTools that lists network requests.
  • Node.js: A runtime that lets you run JavaScript outside the browser.
  • Origin: The combination of protocol, host and port that identifies a website; pages from different origins are kept separate for security.
  • pagehide: An event that fires when a page is being hidden, for example when you navigate away.
  • Phishing: Tricking someone into thinking they are on a trusted site to steal information.
  • Proof-of-concept (PoC): A small, minimal example that demonstrates a bug.
  • Race window: A short period where two things happen at almost the same time and the order is not guaranteed.
  • rel=noopener: An attribute on a link that prevents the new page from having a reference back to the old page through window.opener.
  • requestAnimationFrame: A JavaScript function that asks the browser to run a function just before the next screen repaint, normally used for animations.
  • sessionStorage: Like localStorage but cleared when the tab closes.
  • setTimeout: A JavaScript function that runs a piece of code after a delay.
  • Tab hijacking: When an attacker's page takes over your tab and sends you somewhere you did not choose.
  • Vulnerability Reward Program (VRP): A scheme where people who find security bugs can report them and sometimes get paid.
  • Webhook server: A small program that listens for incoming requests and records them, so you can see what was sent.

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.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.