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

Incorrect Authorization in SiteIsolation (CVE-2026-102322)

A site isolation bypass in Chrome allowed a compromised renderer to navigate to devtools:// origins and achieve universal XSS, which was then used to install arbitrary extensions and read/write files. An attacker with a compromised renderer could escape the sandbox and execute code on the machine.

Avadhut Mahamuni Follow

Originally disclosed on Chrome VRP

Bounty$5,000 High View original
  • Fix shipped in 3 months

Report description

Site Isolation bypass leading to Arbitrary File Write through RenderFrameHost, Extension Installation, and Downloads Page.


Bug location

Where do you want to report your vulnerability?

Chrome VRP – Report security issues affecting the Chrome browser. See program rules

Which URL (or repository) have you found the vulnerability in?

content/browser


The problem

Please describe the technical details of the vulnerability

(Note from the security team: POC was originally provided as a link and is now elided)

Arbitrary navigation in subframe

We have found a new vulnerability in the NavigationURLLoaderImpl component that allows us to commit and request urls of the devtools: origin. A recent change in how NavigationURLLoaderImpl processes redirect checks, specifically in how it handles bypass_redirect_checks in the URLResponseHead allows us to redirect to a URL with a devtools: scheme. The redirect checks rely on source site instance, and that can be blocked out due to how RenderFrameProxyHost registers the initiator frame token (as this is optional). Providing a renderer hosted Blob that has a custom Load() implmentation allows for the redirect to happen to arbritary schemes with no checks.

Bisect Info: Introduced in https://chromium-review.googlesource.com/c/chromium/src/+/6692491 Affecting stable, beta, and canary as of right now. Introduced bypass_redirect_checks in the mojo structure through an enabled-by-default flag.

Error Page Isolation failure in blocked subframes

When the subframe is blocked by the request, the error page commits in the original process. However, before the navigation commits, the browser process grants us the ability to commit to the error’ed url (devtools://devtools/bundled/inspector.html in this case) and since being able to commit a URL also means we are able to request that url as long as it belongs to the origin devtools://devtools, we are able to use this to navigate to a sandboxed process. In the past, this wouldn’t be able to allow us to commit new schemes, but now we are able to so we are able to arbitrarily navigate. To force error page isolation failure, we set a CSP to block the request after the NavigationRequest::commit_params().url gets updated, and used in the RenderFrameHostImpl::FailedNavigation state.

Bisect Info: https://chromium-review.googlesource.com/c/chromium/src/+/1115203 This introduced the vulnerability as error page isolation is only enabled for main frames here.

devtools://devtools/bundled/inspector.html UXSS

Effectively what happens is InspectorFrontendHost grants us the ability to set the injected script for any origin. When an iframe is embedded within the page, we are able to inject the script of our choosing, and it will execute.

Bisect Info: https://chromium-review.googlesource.com/c/chromium/src/+/533701 introduced the ability to inject scripts from the browser process.

Enabled Drag From Downloads Page to Chrome://Extensions installDroppedFile()

Downloads pages are able to start a drag for any download item. This means, we can start a download from any page which doesn’t require user interaction, Using the UXSS we have on the chrome://downloads page, by using downloads.mojom.PageHandler.drag method in the frame, we can open the extensions page, start a drag on that page and then run installDroppedFile() immediately since WebContents captures drop data if the drag is entered at all. This leads to arbitrary extension installation.

BisectInfo: This vulnerability was introduced when installDroppedFile was introduced which was from this crrev https://chromium-review.googlesource.com/c/chromium/src/+/981119 back in 2018.

Perfetto UI

Perfetto UI’s extension ID is impersonated in this exploit by using the manifest.json “key” property from zip installation. A chrome debugger session is created with the browser, this is then used to send a tab creation request, and inject chrome devtools protocol bindings into that tab. This is used to then create a new target from there, and this is further detailed in the perfetto_extension.zip attachment. The message Input.dispatchDragEvent was used to upload and read arbritary files on the file system, and is better than DOM.setFIleInputFiles as it allows for directory entries to be read and manipulated. File read is demonstrated by catting /etc/lsb-release onto the screen. File write is demonstrated through Page.setDownloadBehavior and you can check for the file under /tmp/pwned-{time}.

To reproduce, extract the files, and run python3 srver.py 3020. The port MUST be 3020. Your service also needs to support [host].localhost domains. If you don’t have support for this, feel free to reach out. However, the underlying requirement is that it is necessary to have two domains that are cross-site from each other. (not just cross-origin as it turns out) to carry out the attack.

Renderer Patches

The patches, which are exclusively renderer-side, are used to remove origin checks, and add extension renderer bindings. These are purely renderer side and are necessary to carry out the attack. In order for the renderer patches to be useful, the attacker site will need to bypass site isolation, so the patches are not granting new capabilities aside from what would have been reached with a compromised renderer. This is other than automatically granting user activation to any popups from open(), although this is still acheivable with renderer RCE eitherway.

How to run the PoC: execute the patched chrome binary with the flags –enable-blink-features=MojoJS –user-data-dir=/tmp The instructions for starting the web server are located in the zip file. (it is a large zip file)

Feel free to ask any questions.

Impact analysis

Attackers with a compromised renderer can use this to escape the sandbox, read arbritary files to steal information, write arbitrary files (in this case I chose /tmp/pwned-{time}) and execute code on the machine by writing to auto-start locations or bashrc.


The cause

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

stable+latest

Is the security issue related to a crash?

No, it is not related to a crash.

Choose the type of vulnerability

Site Isolation Bypass

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

Avadhut Mahamuni

The original report as published on the Chromium issue tracker, by Avadhut Mahamuni. 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. 8 min read.

Context

This is a Site Isolation bypass in Chrome, reported through the Chrome VRP and tracked as CVE-2026-102322. The affected code lives in content/browser, and the report names NavigationURLLoaderImpl, RenderFrameProxyHost, RenderFrameHostImpl, InspectorFrontendHost, the downloads page and the extensions page as the components involved. The researcher's summary is that the chain is a Site Isolation bypass leading to arbitrary file write through a RenderFrameHost, extension installation and the downloads page.

Site Isolation is the browser-side mechanism that keeps content from different sites in different renderer processes and checks that a renderer cannot commit a navigation to a URL it is not entitled to. The report shows several places where those checks can be made to pass for a URL the renderer should not be able to reach, starting with the devtools: origin.

The reporter classifies the issue as a Site Isolation bypass, not a crash. The bisect note says the issue affects stable, beta and canary at the time of reporting. The version field says stable+latest.

Setup

No accounts or roles are involved. The preconditions come from the reproduction notes:

  1. Extract the provided files and start the bundled server with python3 srver.py 3020. The port must be 3020.
  2. The service must support [host].localhost domains. The underlying requirement is two domains that are cross-site from each other, not merely cross-origin.
  3. Run the patched Chrome binary with the flags --enable-blink-features=MojoJS --user-data-dir=/tmp.
  4. The renderer patches are required. They are exclusively renderer-side and remove origin checks and add extension renderer bindings. The reporter notes that for these patches to be useful the attacker site must already bypass site isolation, so they do not grant capabilities beyond what a compromised renderer would have, with one exception: they automatically grant user activation to popups from open(), which the reporter says is achievable with renderer RCE anyway.

A note from the security team says the proof of concept was originally supplied as a link and has been elided. The report refers to a perfetto_extension.zip attachment and to a large zip containing the server instructions.

Finding it

The researcher describes four separate weaknesses that are chained together, each with its own bisect information.

Arbitrary navigation in a subframe

A change in how NavigationURLLoaderImpl processes redirect checks, specifically its handling of bypass_redirect_checks in the URLResponseHead, allows a redirect to a URL with a devtools: scheme. The redirect checks rely on the source site instance, and that can be blocked out because of how RenderFrameProxyHost registers the initiator frame token, which is optional. Supplying a renderer-hosted Blob with a custom Load() implementation then allows the redirect to happen to arbitrary schemes with no checks.

Bisect: introduced in https://chromium-review.googlesource.com/c/chromium/src/+/6692491, which added bypass_redirect_checks to the mojo structure behind an enabled-by-default flag.

Error page isolation failure in blocked subframes

When the subframe is blocked by the request, the error page commits in the original process. Before the navigation commits, the browser process grants the ability to commit to the errored URL, in this case devtools://devtools/bundled/inspector.html. Being able to commit a URL also means being able to request it as long as it belongs to the origin devtools://devtools, so this can be used to navigate to a sandboxed process. Previously this would not have allowed committing new schemes; now it does, which gives arbitrary navigation. To force the error page isolation failure, the researcher sets a CSP that blocks the request after NavigationRequest::commit_params().url has been updated and that URL is used in the RenderFrameHostImpl::FailedNavigation state.

Bisect: https://chromium-review.googlesource.com/c/chromium/src/+/1115203, which introduced the vulnerability because error page isolation is only enabled for main frames there.

devtools://devtools/bundled/inspector.html UXSS

InspectorFrontendHost grants the ability to set the injected script for any origin. When an iframe is embedded within the page, the script of the attacker's choosing can be injected and will execute.

Bisect: https://chromium-review.googlesource.com/c/chromium/src/+/533701 introduced the ability to inject scripts from the browser process.

Drag from the downloads page to chrome://extensions and installDroppedFile()

The downloads page can start a drag for any download item, which means a download can be started from any page without user interaction. Using the UXSS on the chrome://downloads page, the downloads.mojom.PageHandler.drag method in the frame can open the extensions page, start a drag on that page and then run installDroppedFile() immediately, because WebContents captures drop data if the drag is entered at all. This leads to arbitrary extension installation.

Bisect: introduced when installDroppedFile was added in https://chromium-review.googlesource.com/c/chromium/src/+/981119 in 2018.

Exploitation

Step 1: redirect a subframe to a devtools: URL

A renderer-hosted Blob with a custom Load() implementation is used so that the redirect is not checked. Combined with the optional initiator frame token registration in RenderFrameProxyHost, the source site instance check can be avoided and the redirect reaches a devtools: scheme URL.

Step 2: force the error page to commit in the original process

A CSP is set to block the request after NavigationRequest::commit_params().url has been updated. The blocked subframe then commits its error page in the original process, and the browser process has already granted the ability to commit to devtools://devtools/bundled/inspector.html. Because committing a URL also permits requesting it within the same origin, the subframe can be navigated into a sandboxed process with the devtools: origin.

Step 3: inject script through the inspector frontend

With the subframe on devtools://devtools/bundled/inspector.html, InspectorFrontendHost is used to set the injected script for any origin. An iframe embedded in the page then executes the injected script, giving UXSS.

Step 4: drive the downloads page and install an extension

From the UXSS position on chrome://downloads, the downloads.mojom.PageHandler.drag method is called in the frame. This opens the extensions page and starts a drag on it. installDroppedFile() is then run immediately, since WebContents captures drop data as soon as the drag is entered. The result is arbitrary extension installation.

Step 5: impersonate the Perfetto UI extension and use the debugger

The Perfetto UI extension ID is impersonated by using the manifest.json key property during zip installation. A Chrome debugger session is created with the browser and used to send a tab creation request and inject Chrome DevTools Protocol bindings into that tab. A new target is then created from there; the report says this is detailed further in the perfetto_extension.zip attachment.

The CDP message Input.dispatchDragEvent is used to upload and read arbitrary files on the file system. The report says it is better than DOM.setFileInputFiles because it allows directory entries to be read and manipulated. File read is demonstrated by catting /etc/lsb-release onto the screen. File write is demonstrated through Page.setDownloadBehavior, with the file to check for under /tmp/pwned-{time}.

Root cause

The chain rests on four separate mistakes, each with its own introducing change:

  1. bypass_redirect_checks in the URLResponseHead mojo structure, enabled by default, lets a renderer-hosted Blob with a custom Load() implementation redirect to arbitrary schemes. The redirect check depends on the source site instance, and the initiator frame token registered by RenderFrameProxyHost is optional, so the check can be skipped.
  2. Error page isolation is only enabled for main frames, so a blocked subframe commits its error page in the original process. The browser process has already authorised committing the errored URL, and committing a URL implies the ability to request it within the same origin.
  3. InspectorFrontendHost can set the injected script for any origin, and script injection from the browser process was added in +533701.
  4. installDroppedFile() trusts drop data captured by WebContents when a drag enters, and the downloads page can start a drag for any download item without user interaction.

Impact

The reporter states that an attacker with a compromised renderer can use this to escape the sandbox, read arbitrary files to steal information, write arbitrary files (the demonstration writes /tmp/pwned-{time}) and execute code on the machine by writing to auto-start locations or bashrc. The chain also allows arbitrary extension installation, and the demonstration impersonates the Perfetto UI extension ID through the key property.

The renderer patches are a precondition for the demonstration, and the reporter is explicit that they do not add capabilities beyond a compromised renderer, apart from automatic user activation for popups from open(). The attack requires two cross-site domains and a server on port 3020 that supports [host].localhost.

Fix

The report does not describe a fix. The introducing changes it identifies are +6692491 (bypass_redirect_checks), +1115203 (error page isolation limited to main frames), +533701 (script injection from the browser process) and +981119 (installDroppedFile).

Variants to test

  1. Redirect handling: look for other mojo fields that bypass redirect checks by default, and for other optional initiator tokens that let a renderer-hosted Blob with a custom Load() reach a privileged scheme. A positive result is a subframe committing a URL in a scheme it should not be able to reach.
  2. Error page isolation: block a subframe navigation with CSP after commit_params().url is updated and check whether the error page commits in the original process with the target URL still authorised. A positive result is the ability to request the errored URL from the same origin afterwards.
  3. Inspector frontend: check whether InspectorFrontendHost script injection applies to origins other than the one the frontend is loaded for, and whether an embedded iframe executes the injected script. A positive result is script execution in an unrelated origin.
  4. Drag and drop: check whether other privileged pages can start a drag for arbitrary items and whether WebContents captures drop data on drag entry without user interaction. A positive result is installDroppedFile() or an equivalent privileged action running from a drag the user never completed.
  5. Extension ID impersonation: install a zip whose manifest.json uses the key property of a target extension and check whether the resulting extension ID matches. A positive result is access to the target extension's privileges or debugger bindings.

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

What happened, in plain words

A security researcher found a way to make Google Chrome do things it should never do for a website. Chrome is built on the idea that a page from one website cannot reach into the private parts of the browser, and cannot read or write files on your computer. The researcher found a chain of small mistakes that, added together, break that rule. The chain lets an attacker who already controls a small piece of the browser (a "compromised renderer") climb out of the box Chrome puts it in, read files, write files, install a browser extension without asking you, and run code on the machine.

The report was sent through the Chrome Vulnerability Reward Program (Chrome VRP), the scheme Google runs to pay people for finding and reporting security bugs. It is tracked as CVE-2026-102322. A CVE is a public catalogue number given to a known security flaw so people can refer to it unambiguously.

The affected code lives in content/browser, which is the part of Chrome's source code that runs in the browser process (the trusted part). The report names several components: NavigationURLLoaderImpl, RenderFrameProxyHost, RenderFrameHostImpl, InspectorFrontendHost, the downloads page and the extensions page. We will meet each of them below.

The researcher's own one-line summary is that the chain is a Site Isolation bypass leading to arbitrary file write through a RenderFrameHost, extension installation and the downloads page.

The ideas you need first

Before walking through the bug, here are the concepts the report leans on. Each one is explained from zero.

Processes, renderers and the browser process

A modern browser does not run everything in one program. It splits work into separate programs, called processes, so that a crash or a bug in one cannot easily damage the others. Chrome has:

  • A browser process: the trusted boss. It draws the tabs, handles the address bar, decides which page is allowed to load where, and talks to the operating system (files, network, windows).
  • Renderer processes: one per website (roughly). Each renderer runs the HTML, CSS and JavaScript of a page. Renderers are treated as untrusted because they run code written by strangers.

A renderer is the process that runs a web page. A renderer process and a renderer mean the same thing here.

The sandbox

Because renderers run untrusted code, Chrome puts them in a sandbox: an operating-system feature that restricts what a program can do. A sandboxed program cannot open arbitrary files, cannot start other programs, and cannot change system settings. If an attacker manages to run their own code inside a renderer (a "compromised renderer"), the sandbox is the last line of defence. Escaping the sandbox is the goal of most serious browser exploits.

Site Isolation

Site Isolation is Chrome's rule that pages from different websites live in different renderer processes, and that a renderer cannot ask the browser to load a URL it is not entitled to. Think of it like a hotel: each guest (website) gets their own room (process), and the front desk (browser process) checks that a guest is not trying to walk into another guest's room. The report is classified as a Site Isolation bypass, meaning the checks at the front desk can be made to pass when they should not.

Origins, schemes and cross-site

A URL has parts. In https://example.com/page, the scheme is https, the host is example.com, and the path is /page. An origin is the combination of scheme, host and port. Two pages share an origin only if all three match. The browser uses origins to decide what a page is allowed to touch.

A cross-origin relationship means two URLs have different origins. A cross-site relationship is stricter: it also considers things like subdomains and registrable domains. The report stresses that the attack needs two domains that are cross-site from each other, not merely cross-origin. In everyday terms: two neighbours in the same building (cross-origin) are not the same as two people in different buildings (cross-site).

Subframes and iframes

A web page can embed another page inside itself using an iframe. The embedded page is called a subframe; the page containing it is the main frame. Subframes are how sites embed videos, maps, ads and login widgets. Because a subframe is a separate document, the browser has to decide which process it runs in and what it is allowed to load.

Navigation and redirects

Navigation is the act of moving a frame from one URL to another, for example when you click a link or a page redirects you. A redirect is a server telling the browser "the thing you asked for is actually over there, go to this other URL instead". Redirects are a classic place for security checks, because an attacker might try to start at a harmless URL and bounce to a dangerous one.

Blobs

A Blob (Binary Large Object) is an in-memory chunk of data that a page can create and give a URL to, like blob:https://example.com/.... Blobs are commonly used for downloads and for media. Because a Blob is created by the renderer, the browser has to be careful about what a Blob URL can be used for.

Mojo and mojom

Chrome's processes talk to each other through a messaging system called Mojo. Each kind of message is described in an interface definition file with the extension .mojom. When the report says something is "in the mojo structure" or refers to downloads.mojom.PageHandler.drag, it means a specific message defined in one of those interface files. Think of Mojo as the internal postal service between the browser process and the renderers, and mojom files as the forms that say which letters are allowed.

CSP

Content Security Policy (CSP) is a rule a website can send to the browser saying which sources of content are allowed. A CSP can, for example, say "do not load scripts from anywhere except my own domain". In this report, the researcher uses a CSP to deliberately block a request at a chosen moment, which is a clever way to force the browser into an error path.

UXSS

UXSS stands for Universal Cross-Site Scripting. Ordinary cross-site scripting (XSS) is when an attacker gets their JavaScript to run in one website's page. UXSS is worse: the attacker's script runs in the context of an arbitrary origin, including privileged browser pages. That means the script can act as if it belonged to that origin, with all its powers.

DevTools and the inspector

DevTools (Developer Tools) is the panel you open in Chrome with F12 to inspect pages, watch network traffic and run JavaScript. Internally, DevTools is itself a web page, served from the devtools: scheme. The page devtools://devtools/bundled/inspector.html is the inspector frontend. Because it is a privileged page, a normal website must never be able to load it or run script inside it.

Extensions and the extensions page

A Chrome extension is a small add-on installed into the browser. Extensions are powerful: they can read pages, talk to the network, and use browser APIs. The extensions page (chrome://extensions) is the built-in settings page where you manage them. Installing an extension normally requires the user to confirm. The report shows a way to install one without that confirmation.

The downloads page

The downloads page (chrome://downloads) is the built-in page listing your downloads. It is a privileged page, so a normal website must not be able to run script inside it.

The Chrome DevTools Protocol (CDP)

The Chrome DevTools Protocol is the language DevTools uses to control the browser: open tabs, send input events, read files chosen in a file picker, and so on. Tools like Puppeteer and Playwright are built on it. If an attacker can speak CDP to the browser, they can do almost anything a debugging tool can.

Perfetto

Perfetto is a performance tracing tool. It has a Chrome extension. The report uses the Perfetto extension's identity as a disguise, which we will explain when we get there.

Bisect

A bisect is a way of finding which code change introduced a bug. You have a version that works and a version that does not; you test versions in between, halving the range each time, until you land on the single change that broke it. The report gives a bisect for each of the four weaknesses, pointing at the Chromium code review (crrev) that introduced it.

Setup

No accounts or roles are involved. The preconditions come from the reproduction notes:

  1. Extract the provided files and start the bundled server with python3 srver.py 3020. The port must be 3020.
  2. The service must support [host].localhost domains. The underlying requirement is two domains that are cross-site from each other, not merely cross-origin.
  3. Run the patched Chrome binary with the flags --enable-blink-features=MojoJS --user-data-dir=/tmp.
  4. The renderer patches are required. They are exclusively renderer-side and remove origin checks and add extension renderer bindings. The reporter notes that for these patches to be useful the attacker site must already bypass site isolation, so they do not grant capabilities beyond what a compromised renderer would have, with one exception: they automatically grant user activation to popups from open(), which the reporter says is achievable with renderer RCE anyway.

Let us unpack each of those.

Step 1: start the server

Bash
python3 srver.py 3020

This runs a small Python web server, using the script srver.py that ships with the proof of concept, on port 3020. The port number is not a suggestion: the report says it MUST be 3020. The report says the port MUST be 3020.

Step 2: two cross-site domains

The server must answer for names of the form [host].localhost. In other words, if the exploit asks for a.localhost and b.localhost, the server must serve both. The report says the underlying requirement is two domains that are cross-site from each other, not merely cross-origin.

Step 3: run the patched Chrome

Bash
--enable-blink-features=MojoJS --user-data-dir=/tmp

These are command-line flags passed to Chrome.

  • --enable-blink-features=MojoJS turns on MojoJS, a feature that exposes the Mojo messaging system to JavaScript in the page. Normally pages cannot speak Mojo directly; this flag lets the proof of concept do so. Blink is the name of Chrome's rendering engine, so --enable-blink-features is the switch that turns on experimental Blink features.
  • --user-data-dir=/tmp tells Chrome to keep its profile (cookies, history, settings) in /tmp instead of your normal profile. This keeps the experiment isolated from your real browsing data.

Step 4: the renderer patches

The proof of concept includes patches to Chrome's renderer code. The report is explicit that these patches are exclusively renderer-side: they change only the untrusted part of the browser. They remove origin checks and add extension renderer bindings. Bindings here means the glue code that lets JavaScript call into a browser feature.

The reporter is careful to say that these patches do not grant new powers on their own. For them to be useful, the attacker site must already have bypassed Site Isolation, so the patches only reach what a compromised renderer could already reach. The one exception is that they automatically grant user activation to popups opened with open(). User activation is the browser's notion that the user has interacted with the page (clicked, typed), which unlocks certain actions like opening popups or starting downloads. The reporter notes that a real attacker with renderer code execution (RCE) could achieve the same thing anyway.

A note from the security team says the proof of concept was originally supplied as a link and has been elided. The report refers to a perfetto_extension.zip attachment and to a large zip containing the server instructions.

Finding it

The researcher describes four separate weaknesses that are chained together, each with its own bisect information. A chain in security means several small bugs used one after another, where each one unlocks the next. None of them alone would be enough; together they are serious.

Arbitrary navigation in a subframe

A change in how NavigationURLLoaderImpl processes redirect checks, specifically its handling of bypass_redirect_checks in the URLResponseHead, allows a redirect to a URL with a devtools: scheme. The redirect checks rely on the source site instance, and that can be blocked out because of how RenderFrameProxyHost registers the initiator frame token, which is optional. Supplying a renderer-hosted Blob with a custom Load() implementation then allows the redirect to happen to arbitrary schemes with no checks.

Bisect: introduced in https://chromium-review.googlesource.com/c/chromium/src/+/6692491, which added bypass_redirect_checks to the mojo structure behind an enabled-by-default flag.

Let us translate that paragraph.

  • NavigationURLLoaderImpl is the piece of the browser process that actually fetches a URL when a frame navigates. It is the "loader" in the name.
  • URLResponseHead is the description of a response that comes back from the network: status code, headers, and so on. It is the "head" of the response, as opposed to the body.
  • bypass_redirect_checks is a field in that response description. As the name says, it tells the loader to skip the usual redirect checks. A recent change added this field to the mojo structure (the message definition) behind a flag that is on by default. That means every Chrome build has it switched on.
  • The redirect checks normally rely on the source site instance: the browser's record of which site the navigation started from. If the browser knows the source, it can decide whether the redirect is allowed.
  • RenderFrameProxyHost is the browser-side object that represents a frame living in another process. It registers an initiator frame token, an identifier saying which frame started the navigation. That registration is optional, so an attacker can arrange for it not to happen, and then the source site instance check has nothing to work with.
  • A renderer-hosted Blob is a Blob whose data is served by the renderer rather than by the network. If the renderer supplies its own Load() implementation, it controls what the loader sees. Combined with the missing source check, the redirect can go to any scheme, including devtools:.

Why does this matter? Because devtools: is a privileged scheme. A normal web page must never be able to navigate a frame to it. This first weakness is the door opener.

Error page isolation failure in blocked subframes

When the subframe is blocked by the request, the error page commits in the original process. Before the navigation commits, the browser process grants the ability to commit to the errored URL, in this case devtools://devtools/bundled/inspector.html. Being able to commit a URL also means being able to request it as long as it belongs to the origin devtools://devtools, so this can be used to navigate to a sandboxed process. Previously this would not have allowed committing new schemes; now it does, which gives arbitrary navigation. To force the error page isolation failure, the researcher sets a CSP that blocks the request after NavigationRequest::commit_params().url has been updated and that URL is used in the RenderFrameHostImpl::FailedNavigation state.

Bisect: https://chromium-review.googlesource.com/chromium/src/+/1115203, which introduced the vulnerability because error page isolation is only enabled for main frames there.

In plain words:

  • When a navigation is blocked, the browser shows an error page (the "this site can't be reached" style page). Normally that error page should be isolated, meaning it should run in a process that is not the one the attacker controls.
  • Here, the error page commits in the original process, the attacker's process. "Commit" is the moment a navigation becomes the actual document shown in the frame. So the attacker's process ends up hosting the error page.
  • Before that commit, the browser process has already recorded that the frame is allowed to commit to the errored URL, which is devtools://devtools/bundled/inspector.html. That is the privileged inspector page.
  • The report notes a subtle rule: being allowed to commit a URL also means being allowed to request it, as long as it belongs to the same origin devtools://devtools. So once the frame has been authorised for that URL, it can also fetch things from that origin.
  • The result is that the frame can be navigated into a sandboxed process with the devtools: origin. In the past, this would not have allowed committing new schemes; now it does, which is arbitrary navigation.
  • To force the error page isolation failure, the researcher sets a CSP that blocks the request after NavigationRequest::commit_params().url has been updated. NavigationRequest is the browser-side object tracking a navigation; commit_params() returns the parameters that will be used when the navigation commits, including the URL. By blocking the request with CSP at exactly that moment, the researcher makes the navigation fail after the URL has already been recorded, so the error page is shown with the privileged URL still authorised. RenderFrameHostImpl::FailedNavigation is the state the frame host enters when a navigation fails.

The bisect points at +1115203, which introduced the vulnerability because error page isolation is only enabled for main frames there. In other words, the protection exists, but only for the top-level page, not for subframes. That gap is what the researcher exploits.

devtools://devtools/bundled/inspector.html UXSS

InspectorFrontendHost grants the ability to set the injected script for any origin. When an iframe is embedded within the page, the script of the attacker's choosing can be injected and will execute.

Bisect: https://chromium-review.googlesource.com/chromium/src/+/533701 introduced the ability to inject scripts from the browser process.

InspectorFrontendHost is the object the inspector frontend uses to talk to the browser. One of its powers is to set an injected script: a piece of JavaScript that the browser will run in a page. The report says this power is not restricted to the origin the frontend is loaded for; it can be used for any origin. So once the attacker has a frame on the inspector page, they can ask the browser to inject their script into an iframe, and it will execute. That is UXSS: script running in an origin it does not belong to.

The bisect points at +533701, which introduced the ability to inject scripts from the browser process. That is the feature that, in the wrong hands, becomes the weapon.

Drag from the downloads page to chrome://extensions and installDroppedFile()

The downloads page can start a drag for any download item, which means a download can be started from any page without user interaction. Using the UXSS on the chrome://downloads page, the downloads.mojom.PageHandler.drag method in the frame can open the extensions page, start a drag on that page and then run installDroppedFile() immediately, because WebContents captures drop data if the drag is entered at all. This leads to arbitrary extension installation.

Bisect: introduced when installDroppedFile was added in https://chromium-review.googlesource.com/chromium/src/+/981119 in 2018.

Breaking that down:

  • The downloads page has a feature that lets you drag a download item out of the page, for example onto your desktop. To support that, the page can start a drag for any download item. The report notes this means a download can be started from any page without user interaction.
  • With UXSS on chrome://downloads, the attacker's script is running inside the downloads page, so it can call the page's own functions. One of them is downloads.mojom.PageHandler.drag, a Mojo message defined in downloads.mojom that tells the browser to start a drag.
  • The script uses that to open the extensions page and start a drag on it. Then it runs installDroppedFile() immediately.
  • installDroppedFile() is the function that installs an extension from a file that was dropped onto the extensions page. Normally a human has to drag a file onto the page and drop it. Here, the report says WebContents captures drop data if the drag is entered at all. WebContents is Chrome's internal object representing the contents of a tab. So as soon as the drag enters the page, the browser grabs the data, and the install can proceed without the user ever completing the drop.
  • The result is arbitrary extension installation: the attacker can install an extension of their choosing without the usual confirmation.

The bisect points at +981119 from 2018, the change that added installDroppedFile. The feature has been there for years; the report is showing how it can be abused when combined with the earlier weaknesses.

Exploitation

Now we walk through the chain step by step, in the order the researcher describes it.

Step 1: redirect a subframe to a devtools: URL

A renderer-hosted Blob with a custom Load() implementation is used so that the redirect is not checked. Combined with the optional initiator frame token registration in RenderFrameProxyHost, the source site instance check can be avoided and the redirect reaches a devtools: scheme URL.

Why this step? Because everything else depends on getting a frame onto the devtools: origin. The attacker cannot simply navigate to devtools://... from a normal page; the browser would refuse. So the attacker builds a Blob whose Load() they control, and uses the missing source check to make the redirect land on devtools:.

Step 2: force the error page to commit in the original process

A CSP is set to block the request after NavigationRequest::commit_params().url has been updated. The blocked subframe then commits its error page in the original process, and the browser process has already granted the ability to commit to devtools://devtools/bundled/inspector.html. Because committing a URL also permits requesting it within the same origin, the subframe can be navigated into a sandboxed process with the devtools: origin.

Why this step? Because the first step only gets the redirect aimed at devtools:. The browser still needs to be persuaded to actually authorise the frame for that URL. By blocking the request with CSP at the right moment, the researcher makes the navigation fail after the URL has been recorded, so the error page is shown with the privileged URL still authorised. The frame is now allowed to request things from devtools://devtools.

Step 3: inject script through the inspector frontend

With the subframe on devtools://devtools/bundled/inspector.html, InspectorFrontendHost is used to set the injected script for any origin. An iframe embedded in the page then executes the injected script, giving UXSS.

Why this step? Because being on the inspector page is not yet the same as running script in the pages the attacker wants to control. The inspector frontend's ability to set an injected script for any origin turns the privileged position into UXSS, which is the key that unlocks the privileged pages used in the next step.

Step 4: drive the downloads page and install an extension

From the UXSS position on chrome://downloads, the downloads.mojom.PageHandler.drag method is called in the frame. This opens the extensions page and starts a drag on it. installDroppedFile() is then run immediately, since WebContents captures drop data as soon as the drag is entered. The result is arbitrary extension installation.

Why this step? Because an installed extension is a persistent foothold. Extensions survive restarts, can talk to the network, and can use powerful browser APIs. Installing one without the user's consent is a serious escalation.

Step 5: impersonate the Perfetto UI extension and use the debugger

The Perfetto UI extension ID is impersonated by using the manifest.json key property during zip installation. A Chrome debugger session is created with the browser and used to send a tab creation request and inject Chrome DevTools Protocol bindings into that tab. A new target is then created from there; the report says this is detailed further in the perfetto_extension.zip attachment.

The CDP message Input.dispatchDragEvent is used to upload and read arbitrary files on the file system. The report says it is better than DOM.setFileInputFiles because it allows directory entries to be read and manipulated. File read is demonstrated by catting /etc/lsb-release onto the screen. File write is demonstrated through Page.setDownloadBehavior, with the file to check for under /tmp/pwned-{time}.

This is the densest step, so let us go slowly.

  • Every Chrome extension has an extension ID, a long string that identifies it. The ID is normally derived from the extension's public key. If you install an extension from a zip, you can include a key property in manifest.json (the extension's configuration file) to declare the public key, and Chrome will derive the ID from it. By copying the key of the Perfetto UI extension, the attacker's extension gets the same ID. That is the impersonation: the attacker's extension looks, to Chrome, like Perfetto's.
  • Why impersonate Perfetto? Because the report says the attacker then creates a Chrome debugger session with the browser. A debugger session is the privileged channel that DevTools uses. The impersonated extension is the vehicle that gets the attacker access to that channel.
  • With the debugger session, the attacker sends a tab creation request (open a new tab) and injects Chrome DevTools Protocol bindings into that tab. Bindings here means the JavaScript glue that lets the page speak CDP. A target in CDP is a page, frame or worker that the debugger can control; creating a new target gives the attacker another thing to drive.
  • The CDP message Input.dispatchDragEvent is used to upload and read arbitrary files. Why a drag event? Because drag and drop can carry files, and CDP lets you synthesise drag events. The reporter says this is better than DOM.setFileInputFiles, another CDP message that sets the files on a file input, because Input.dispatchDragEvent allows directory entries to be read and manipulated, not just single files.
  • cat is a Unix command that prints a file's contents. /etc/lsb-release is a small text file that describes the Linux distribution. Printing it proves the attacker can read files outside the browser's sandbox.
  • File write is demonstrated through Page.setDownloadBehavior, a CDP message that tells the browser where to save downloads. By pointing downloads at a chosen path, the attacker writes a file. The file to check for is under /tmp/pwned-{time}, where {time} is a timestamp so each run produces a distinct name.

Root cause

The chain rests on four separate mistakes, each with its own introducing change:

  1. bypass_redirect_checks in the URLResponseHead mojo structure, enabled by default, lets a renderer-hosted Blob with a custom Load() implementation redirect to arbitrary schemes. The redirect check depends on the source site instance, and the initiator frame token registered by RenderFrameProxyHost is optional, so the check can be skipped.
  2. Error page isolation is only enabled for main frames, so a blocked subframe commits its error page in the original process. The browser process has already authorised committing the errored URL, and committing a URL implies the ability to request it within the same origin.
  3. InspectorFrontendHost can set the injected script for any origin, and script injection from the browser process was added in +533701.
  4. installDroppedFile() trusts drop data captured by WebContents when a drag enters, and the downloads page can start a drag for any download item without user interaction.

In everyday terms: the front desk (browser process) has four separate habits that, taken together, let a guest walk into any room. One habit is a form field that says "skip the check". Another is a rule that only protects the lobby, not the corridors. A third is a master key that works on every door. A fourth is a door that unlocks itself as soon as someone touches the handle.

Impact

The reporter states that an attacker with a compromised renderer can use this to escape the sandbox, read arbitrary files to steal information, write arbitrary files (the demonstration writes /tmp/pwned-{time}) and execute code on the machine by writing to auto-start locations or bashrc. The chain also allows arbitrary extension installation, and the demonstration impersonates the Perfetto UI extension ID through the key property.

Let us unpack the impact:

  • Escape the sandbox: the attacker's code, which started inside a renderer, ends up able to do things only the browser process should do.
  • Read arbitrary files: the demonstration reads /etc/lsb-release, but the same technique could read documents, configuration files or credentials.
  • Write arbitrary files: the demonstration writes /tmp/pwned-{time}. Writing to auto-start locations or bashrc can lead to code execution.
  • Execute code on the machine: by writing to auto-start locations (places the operating system runs programs from at login) or to bashrc (a shell configuration file that runs commands when a terminal starts), the attacker can make their code run outside the browser entirely.
  • Install extensions: including impersonating the Perfetto UI extension ID through the key property.

The renderer patches are a precondition for the demonstration, and the reporter is explicit that they do not add capabilities beyond a compromised renderer, apart from automatic user activation for popups from open(). The attack requires two cross-site domains and a server on port 3020 that supports [host].localhost.

Fix

The report does not describe a fix. The introducing changes it identifies are +6692491 (bypass_redirect_checks), +1115203 (error page isolation limited to main frames), +533701 (script injection from the browser process) and +981119 (installDroppedFile).

In other words, the report tells defenders where to look, but it does not say what the patch should be. That is normal for a vulnerability report: the job is to demonstrate the problem, not to write the fix.

Variants to test

These are the follow-up questions a defender or another researcher would ask, to see whether the same mistakes exist elsewhere.

  1. Redirect handling: look for other mojo fields that bypass redirect checks by default, and for other optional initiator tokens that let a renderer-hosted Blob with a custom Load() reach a privileged scheme. A positive result is a subframe committing a URL in a scheme it should not be able to reach.
  2. Error page isolation: block a subframe navigation with CSP after commit_params().url is updated and check whether the error page commits in the original process with the target URL still authorised. A positive result is the ability to request the errored URL from the same origin afterwards.
  3. Inspector frontend: check whether InspectorFrontendHost script injection applies to origins other than the one the frontend is loaded for, and whether an embedded iframe executes the injected script. A positive result is script execution in an unrelated origin.
  4. Drag and drop: check whether other privileged pages can start a drag for arbitrary items and whether WebContents captures drop data on drag entry without user interaction. A positive result is installDroppedFile() or an equivalent privileged action running from a drag the user never completed.
  5. Extension ID impersonation: install a zip whose manifest.json uses the key property of a target extension and check whether the resulting extension ID matches. A positive result is access to the target extension's privileges or debugger bindings.

Glossary

  • API: an interface that lets one piece of software ask another to do something, like a menu of allowed requests.
  • Auto-start location: a place on the operating system where programs are run automatically at login or startup.
  • bashrc: a shell configuration file that runs commands when a terminal session starts.
  • Bindings: glue code that lets one part of the browser (for example JavaScript in a page) call into another part (for example a browser feature).
  • Bisect: a method of finding which code change introduced a bug by testing versions in between a working and a broken one, halving the range each time.
  • Blink: the name of Chrome's rendering engine, the part that turns HTML and CSS into what you see.
  • Blob: an in-memory chunk of data that a page can create and give a URL to.
  • Browser process: the trusted part of Chrome that manages tabs, windows, network and files, and that decides what renderers are allowed to do.
  • CDP (Chrome DevTools Protocol): the language DevTools uses to control the browser, used by tools like Puppeteer and Playwright.
  • Chain: several small bugs used one after another, where each unlocks the next.
  • Commit: the moment a navigation becomes the actual document shown in a frame.
  • Compromised renderer: a renderer process in which an attacker is already running their own code.
  • CSP (Content Security Policy): a rule a website sends to the browser saying which sources of content are allowed.
  • CVE: a public catalogue number given to a known security flaw.
  • DevTools: the developer panel in Chrome, itself a privileged web page served from the devtools: scheme.
  • Downloads page: the built-in chrome://downloads page listing your downloads.
  • Error page: the page shown when a navigation fails, for example "this site can't be reached".
  • Extension: a small add-on installed into Chrome that can use powerful browser APIs.
  • Extension ID: the long string that identifies an extension, normally derived from its public key.
  • Extensions page: the built-in chrome://extensions page where you manage extensions.
  • Iframe: an element that embeds one web page inside another.
  • Initiator frame token: an identifier saying which frame started a navigation.
  • Injected script: JavaScript that the browser runs in a page on behalf of a privileged feature such as the inspector.
  • installDroppedFile(): the function that installs an extension from a file dropped onto the extensions page.
  • Main frame: the top-level page of a tab, as opposed to a subframe.
  • manifest.json: the configuration file of a Chrome extension, which can include a key property declaring its public key.
  • Mojo: Chrome's internal messaging system between processes.
  • MojoJS: a feature that exposes Mojo to JavaScript in a page, normally off.
  • mojom: the file format that defines Mojo messages.
  • Navigation: moving a frame from one URL to another.
  • Origin: the combination of scheme, host and port that identifies a web page's security context.
  • Perfetto: a performance tracing tool that has a Chrome extension.
  • Port: a number that identifies a specific service on a machine, for example 3020 for the proof-of-concept server.
  • Redirect: a server telling the browser to go to a different URL instead.
  • Renderer: the process that runs a web page's HTML, CSS and JavaScript; treated as untrusted.
  • RCE (Remote Code Execution): running your own code on someone else's machine.
  • Sandbox: an operating-system feature that restricts what a program can do, used to contain renderers.
  • Scheme: the first part of a URL, such as https, blob or devtools.
  • Site Isolation: Chrome's rule that pages from different sites live in different processes and that a renderer cannot load a URL it is not entitled to.
  • Subframe: a page embedded inside another page, for example via an iframe.
  • Target: in CDP, a page, frame or worker that the debugger can control.
  • User activation: the browser's notion that the user has interacted with a page, which unlocks certain actions.
  • UXSS (Universal Cross-Site Scripting): script running in the context of an arbitrary origin, including privileged browser pages.
  • WebContents: Chrome's internal object representing the contents of a tab.
  • XSS (Cross-Site Scripting): getting an attacker's JavaScript to run in a website's page.

More by Avadhut Mahamuni

View all

1 more disclosed report, 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.

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.