Skip to content
Access control Advisory Advanced CVE-2026-17728

Inappropriate implementation in Extensions (CVE-2026-17728)

A Chrome extension context isolation bypass was triggered by the browser's Link header processing, allowing a cross-origin subresource to execute code in the extension's isolated world. An attacker could steal sensitive data stored in chrome.[redacted], such as tokens and API keys.

Suhas S P Follow

Originally disclosed on Chrome VRP

Bounty$10,000 Medium View original
  • Fix shipped in 8 months

Summary: Chrome Extension context isolation bypass via Link headers

Program: Google VRP

URL: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/parser/preload_request.cc

Vulnerability type: Site Isolation Bypass

Details

This is more of a revival of the past case (https://issues.chromium.org/issues/371011220), but it is triggered by this new variation. The key difference from the original context isolation bypass (371011220) is the initiation vector.

The original bug was triggered by the extension's own import() call from its content script. This new variant is triggered by the browser's core Link header processing primitive, initiated by a cross-origin subresource. This moves the attack's entry point from the extension itself to the browser's handling of such requests, increasing the overall attack surface by arbitrary code execution within the security context of the vulnerable Chrome extension.

Steps to Reproduce

  1. The PoC requires the following file structure to reproduce: Place background.js, content.js, injected.js, and manifest.json in a folder named vulnerable_extension or similar. Make sure attacker_server.py and 404.png are in the same folder.

  2. Load the Vulnerable Extension:

  • Navigate to chrome://extensions and enable "Developer mode".
  • Click "Load unpacked" and select the vulnerable_extension folder.
  • Copy the Extension ID that is generated.
  1. Open attacker_server.py and replace the placeholder put_your_real_extension_id_here with the copied Extension ID. Then, run the server: python attacker_server.py

  2. Trigger the exploit by navigating in browser to the attacker's server at http://127.0.0.1:8000/.

Once the page and extension is loaded, the server logs will reflect confirming the extension's stolen secret data.


Attack scenario

Impact:

  • Arbitrary Code Execution within the security context of a Chrome extension's isolated world. This bypasses the security boundary designed to prevent a web page from influencing the privileged context of an extension's content script.
  • Data Exfiltration by theft of any sensitive data the extension stores in chrome.storage.local like tokens, API keys, and other private data.

Kindly let me know if any other information is required, I have attached the required PoC files also.


What version of Chrome have you found the security issue in?

Version 142.0.7444.163 (Official Build) (64-bit)

Version 144.0.7529.0 (Official Build) canary (64-bit)

Is the security issue related to a crash?

No, it is not related to a crash.

How would you like to be publicly acknowledged for your report?

Suhas S P

Planned disclosure date(-s): 2025-12-30

The original report as published on the Chromium issue tracker, by Suhas S P. 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. 4 min read.

Context

Chrome extensions can run content scripts in an isolated world, a JavaScript environment that shares the DOM with the page but not its JavaScript objects. The security boundary is meant to stop a web page from reaching into the privileged context of an extension's content script. This report describes a bypass of that boundary in which a cross-origin subresource, processed through the browser's Link header handling, causes code to execute inside the extension's isolated world.

The researcher frames the issue as a revival of an earlier context isolation bypass, issue 371011220. The key difference is the initiation vector. In the original bug, the extension's own import() call from its content script triggered the problem. In this variant, the browser's core Link header processing primitive is the trigger, and the request that drives it is a cross-origin subresource. That moves the entry point from the extension itself to the browser's handling of such requests, which the researcher says increases the attack surface by allowing arbitrary code execution within the security context of the vulnerable extension.

The report points at the relevant source file:

Text
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/parser/preload_request.cc

The vulnerability type is given as Site Isolation Bypass, and the weakness as inappropriate implementation in Extensions.

Setup

The proof of concept needs a specific file layout. background.js, content.js, injected.js and manifest.json go into a folder named vulnerable_extension or similar. attacker_server.py and 404.png must sit together in the same folder.

The researcher tested on two builds:

Build Version
Official 142.0.7444.163 (64-bit)
Canary 144.0.7529.0 (64-bit)

The issue is not related to a crash.

Finding it

The report states that the browser's core Link header processing primitive, initiated by a cross-origin subresource, triggers the same context isolation weakness previously demonstrated through an extension's own import() call. Because the new trigger is a cross-origin subresource handled by the browser rather than a call made by the extension, any page that can cause the browser to process a crafted Link header becomes a potential entry point.

Exploitation

Step 1: Prepare the files

Create the extension folder and place the four extension files in it, and keep the server script and image alongside each other:

Text
vulnerable_extension/
  background.js
  content.js
  injected.js
  manifest.json
attacker_server.py
404.png

Step 2: Load the vulnerable extension

  1. Navigate to chrome://extensions and enable "Developer mode".
  2. Click "Load unpacked" and select the vulnerable_extension folder.
  3. Copy the generated Extension ID.

The Extension ID is pasted into the placeholder put_your_real_extension_id_here in attacker_server.py.

Step 3: Configure and start the attacker server

Open attacker_server.py and replace the placeholder put_your_real_extension_id_here with the Extension ID copied in the previous step. Then run the server:

Bash
python attacker_server.py

Step 4: Trigger the exploit

With the extension loaded, navigate the browser to the attacker's server:

Text
http://[redacted]:8000/

Once the page and the extension are loaded, the server logs show the extension's stolen secret data, confirming the exfiltration.

Root cause

The report attributes the flaw to an inappropriate implementation in Extensions, specifically in the Link header processing path in third_party/blink/renderer/core/html/parser/preload_request.cc. The browser's core Link header processing primitive, initiated by a cross-origin subresource, can lead to code execution in the isolated world of a content script, the same boundary the earlier import()-based bug crossed. The report does not go into the precise code-level mechanism beyond naming the file and the primitive.

Impact

The researcher lists two consequences:

  • Arbitrary code execution within the security context of a Chrome extension's isolated world, bypassing the boundary designed to prevent a web page from influencing the privileged context of a content script.
  • Data exfiltration by theft of sensitive data the extension stores in chrome.[redacted], such as tokens, API keys and other private data.

In the PoC, the browser navigates to the attacker's server at http://[redacted]:8000/. The report does not describe which extensions are affected beyond the PoC extension it supplies.

Fix

The report does not describe a fix or a code change. It was filed as a Chrome VRP issue with a planned disclosure date of 2025-12-30, and the platform records it as a medium severity advisory with a 10,000 USD bounty, disclosed on 2026-07-29.

Variants to test

  • A positive result is code running in the extension's isolated world or data from chrome.[redacted] reaching an attacker-controlled server.
  • A positive result is the same cross-boundary execution without any page-side script involvement.
  • A positive result is those values appearing in the attacker server's logs after a visit to the attacker page.
  • A positive result is the same behaviour reproducing on a build where the fix is expected to be present.

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

What happened, in plain words

Chrome extensions are small programs you install in the browser to add features: password managers, ad blockers, translators. Many of them need to read and change the pages you visit. To do that safely, Chrome gives the extension a piece of code called a content script that runs inside the page but in its own private bubble, called an isolated world. The page and the content script can both see the same page content (the DOM, the structure of the page), but they cannot see each other's JavaScript objects. That separation is a security wall: a malicious website should never be able to reach into the extension's private bubble and run its own code there.

This report describes a way around that wall. A website the victim visits can make the browser process a special instruction called a Link header, and that processing ends up running code inside the extension's isolated world. The researcher calls this a Site Isolation Bypass, because it defeats the boundary that is supposed to keep sites and extensions apart.

The researcher is honest that this is not a brand new idea. An earlier bug, issue 371011220, crossed the same wall, but it was started by the extension itself: the extension's content script made an import() call, which is JavaScript's way of loading another piece of code, and that call could be steered somewhere bad. The new variant changes who starts the trouble. Here the trigger is the browser's own handling of a Link header, and the request that drives it is a cross-origin subresource, meaning a file loaded from a different website than the page itself. That moves the entry point away from the extension and into the browser's normal request handling, which the researcher says widens the attack surface: more pages, in more situations, can set the chain off.

The report points at the file where the relevant code lives:

Text
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/html/parser/preload_request.cc

This is a link into Chromium's source code, the public code repository for Chrome. third_party/blink is Blink, Chrome's rendering engine, the part that turns HTML and CSS into what you see. renderer/core/html/parser is the HTML parser, the component that reads the page's markup. preload_request.cc is a C++ file that deals with preload requests, which are requests the browser starts early because the page hints that it will need a resource soon. The report names this file as the place connected to the flaw but does not walk through the code inside it.

The vulnerability type is given as Site Isolation Bypass, and the weakness as an inappropriate implementation in Extensions. "Inappropriate implementation" is a category meaning the feature was built in a way that does not enforce the security rules it should.

Setting up the test

To reproduce the problem, the researcher needs a specific arrangement of files. Four files make up the test extension: background.js, content.js, injected.js and manifest.json. They go into a folder named vulnerable_extension or something similar. Two more files, attacker_server.py and 404.png, must sit together in the same folder as each other. The extension files are the thing being attacked; the server script and the image are the attacker's side.

The researcher tested on two builds of Chrome:

Build Version
Official 142.0.7444.163 (64-bit)
Canary 144.0.7529.0 (64-bit)

"Official" is the normal Chrome you download. "Canary" is the experimental build that gets new code first, so testing both shows the bug is not limited to one release line. The issue is not related to a crash: nothing freezes or closes, the browser keeps working normally while the wrong thing happens quietly.

How the researcher found it

The report says the browser's core Link header processing primitive, initiated by a cross-origin subresource, triggers the same weakness earlier shown through an extension's own import() call. A Link header is a line a web server can send along with a response to tell the browser about related resources, for example "there is a stylesheet over there" or "you may want to fetch this other file early". The browser trusts this hint enough to start fetching things on its own.

Because the new trigger is a cross-origin subresource handled by the browser, rather than a call the extension makes, any page that can make the browser process a crafted Link header becomes a possible entry point. In everyday terms, imagine a building where visitors are kept in the lobby and staff have keys to the back rooms. The old bug was a staff member being tricked into opening the wrong door. This bug is the reception desk itself, which visitors are allowed to talk to, passing a message straight into the back room.

Carrying out the attack

Step 1: Prepare the files

Create the extension folder, put the four extension files in it, and keep the server script and the image alongside each other:

Text
vulnerable_extension/
  background.js
  content.js
  injected.js
  manifest.json
attacker_server.py
404.png

Line by line: vulnerable_extension/ is a folder holding the extension. background.js is the extension's background script, code that runs for the whole life of the extension rather than inside one page. content.js is the content script, the code that runs inside pages. injected.js is one of the four files that make up the test extension. manifest.json is the extension's description file, which tells Chrome its name, permissions and which scripts to run where. attacker_server.py is a small web server written in Python that the researcher runs on their own machine to play the attacker. 404.png is an image file that must sit in the same folder as attacker_server.py. The report does not explain what the image is for.

Step 2: Load the vulnerable extension

  1. Navigate to chrome://extensions and enable "Developer mode".
  2. Click "Load unpacked" and select the vulnerable_extension folder.
  3. Copy the generated Extension ID.

chrome://extensions is Chrome's built-in page for managing extensions. "Developer mode" is a switch that reveals tools normally hidden from ordinary users, including the ability to load an extension straight from a folder instead of from the Chrome Web Store. "Load unpacked" does exactly that: it installs the folder as an extension. Chrome then gives the extension an Extension ID, a long unique string that identifies this particular installation. The Extension ID is pasted into the placeholder put_your_real_extension_id_here in attacker_server.py.

Step 3: Configure and start the attacker server

Open attacker_server.py and replace the placeholder put_your_real_extension_id_here with the Extension ID copied in the previous step. Then run the server:

Bash
python attacker_server.py

Line by line: the placeholder text put_your_real_extension_id_here is a stand-in the researcher left in the script so that anyone repeating the test knows where to paste their own Extension ID. python attacker_server.py starts the Python interpreter and runs the server script. From that moment the researcher's own computer is acting as the attacker's website, listening for the browser to connect.

Step 4: Trigger the exploit

With the extension loaded, navigate the browser to the attacker's server:

Text
http://[redacted]:8000/

Line by line: http:// is the ordinary web protocol. [redacted] is the special address that always means "this same computer", so the browser is talking to the server running on the researcher's own machine. :8000 is the port, the numbered door on that machine where the server listens. The trailing / asks for the site's front page. Visiting this page triggers the exploit.

Once the page and the extension are loaded, the server logs show the extension's stolen secret data. That is the confirmation: the attacker's server has received information that only the extension should have been able to read.

Why it works

The report attributes the flaw to an inappropriate implementation in Extensions, specifically in the Link header processing path in third_party/blink/renderer/core/html/parser/preload_request.cc. The browser's core Link header processing primitive, initiated by a cross-origin subresource, can lead to code execution in the isolated world of a content script, the same boundary the earlier import()-based bug crossed. The report does not go into the precise code-level mechanism beyond naming the file and the primitive.

A useful comparison: the isolated world is like a separate room with its own furniture, even though it shares the same walls as the page. The rule is that nothing from the page's side may move furniture in the extension's room. Here the browser itself carried an instruction across the threshold while doing routine work, so the rule was never checked at the right moment.

What an attacker could do

The researcher lists two consequences:

  • Arbitrary code execution within the security context of a Chrome extension's isolated world, bypassing the boundary designed to prevent a web page from influencing the privileged context of a content script. In plain words: the attacker's code runs with the extension's powers, not the page's limited ones.
  • Data exfiltration by theft of sensitive data the extension stores in chrome.[redacted], such as tokens, API keys and other private data. chrome.[redacted] is a small storage area that belongs to the extension, kept on the user's computer. A token is a short string that proves who you are, like a temporary key; an API key is a password-like string that lets software talk to another service. If an extension keeps your login tokens there, stealing them can mean the attacker can act as you elsewhere.

In the proof of concept, the browser navigates to the attacker's server at http://[redacted]:8000/. The report does not describe which extensions are affected beyond the proof-of-concept extension it supplies.

The fix

It was filed as a Chrome VRP issue, meaning it went through Google's Vulnerability Reward Program, which pays researchers for finding security bugs. The planned disclosure date was 2025-12-30, and the platform records it as a medium severity advisory with a 10,000 USD bounty, disclosed on 2026-07-29.

Other things worth testing

  • A positive result is code running in the extension's isolated world or data from chrome.[redacted] reaching an attacker-controlled server. A preload hint tells the browser to fetch something early; a preconnect hint tells it to open a connection early; a relation type is the word in a Link header saying what the linked resource is for, such as stylesheet or preload.
  • A positive result is the same cross-boundary execution without any page-side script involvement.
  • A positive result is those values appearing in the attacker server's logs after a visit to the attacker page.
  • A positive result is the same behaviour reproducing on a build where the fix is expected to be present.

Glossary

  • API: a defined way for one piece of software to ask another for something, like a service counter with set forms.
  • API key: a secret string that identifies a program to a service, working like a password for software.
  • Arbitrary code execution: the ability to make a computer run code of the attacker's choosing.
  • Blink: Chrome's rendering engine, the part that reads HTML and CSS and draws the page.
  • Canary: an experimental Chrome build that receives new code before the stable release.
  • chrome.[redacted]: a storage area belonging to an extension, kept on the user's computer.
  • Content script: extension code that runs inside web pages, in a separate isolated world.
  • Cross-origin subresource: a file loaded from a different site than the page itself.
  • CVE: a public identifier for a known security vulnerability.
  • DOM: the tree structure representing a page's content, which scripts can read and change.
  • Exfiltration: secretly sending stolen data out to an attacker.
  • Extension ID: the unique string Chrome assigns to an installed extension.
  • import(): a JavaScript function that loads another piece of code at runtime.
  • Inappropriate implementation: a weakness category meaning a feature was built without enforcing the security rules it should.
  • Isolated world: a private JavaScript environment for a content script that shares the page's DOM but not its JavaScript objects.
  • Link header: a line in a web response telling the browser about related resources.
  • Manifest: the JSON file describing an extension's name, permissions and scripts.
  • Port: a numbered channel on a computer where a server listens for connections.
  • Preload request: a request the browser starts early because the page hinted it will need the resource.
  • Proof of concept (PoC): a small working example that demonstrates a vulnerability.
  • Relation type: the word in a Link header saying what the linked resource is for.
  • Site Isolation Bypass: getting around the boundary that keeps different sites and extension contexts apart.
  • Token: a short string proving identity, like a temporary key.
  • VRP: Vulnerability Reward Program, Google's scheme that pays researchers for security reports.
  • [redacted]: the address that always refers to the computer you are using.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.