Insufficient validation of untrusted input in WebUI (CVE-2026-11105)
A logic error in WebUIURLLoaderFactory allows a compromised Instant renderer to access the blob-internals diagnostic page via the chrome-search:// scheme, leaking profile-wide blob metadata including cross-origin filesystem URLs and full local file paths.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 56 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the security team.
Overview: A logic error in WebUIURLLoaderFactory allows a compromised Instant renderer to access the blob-internals diagnostic tool via the chrome-search:// scheme. Because the factory lacks a strict scheme check for this endpoint and the Instant process is granted an unrestricted allowed_hosts set, an attacker can leak profile-wide blob metadata, including cross-origin filesystem URLs and full local file paths.
Affected files:
content/browser/webui/web_ui_url_loader_factory.ccchrome/browser/chrome_content_browser_client.cccontent/browser/blob_storage/blob_internals_url_loader.ccstorage/browser/blob/view_blob_internals_job.cc
Estimated timestamp from git blame: 2025-10-03
Summary
A potential vulnerability in WebUIURLLoaderFactory allows a compromised Instant renderer (such as a remote New Tab Page) to access the blob-internals diagnostic page via the chrome-search scheme. Because this factory is initialized with an empty allowed_hosts set and lacks a strict scheme check for the diagnostic endpoint, it will service requests for chrome-search://blob-internals/. This results in the disclosure of sensitive blob metadata for all origins across the user's profile.
Technical Details
In chrome/browser/chrome_content_browser_client.cc (AddChromeSchemeFactories, lines 6344-6348), the browser process creates a WebUIURLLoaderFactory for the chrome-search scheme to support remote New Tab Pages (Instant processes). This factory is created with an empty allowed_hosts set, which explicitly acts as an allow-all mechanism for hosts under that scheme:
if (instant_service && instant_service->IsInstantProcess(render_process_id)) {
factories->emplace(chrome::kChromeSearchScheme,
content::CreateWebUIURLLoaderFactory(
frame_host, chrome::kChromeSearchScheme,
/*allowed_hosts=*/base::flat_set<std::string>()));
}
In content/browser/webui/web_ui_url_loader_factory.cc (WebUIURLLoaderFactory::CreateLoaderAndStart), the factory validates incoming requests. While it checks that the request scheme matches the factory scheme (chrome-search), the empty allowed_hosts_ set causes the host validation check (CHECK(allowed_hosts_.empty() || ...)) at line 286 to pass immediately.
The logic then dispatches requests for blob-internals based solely on the host name, without verifying that the scheme is strictly chrome://:
if (request.url.host() == kChromeUIBlobInternalsHost) { // kChromeUIBlobInternalsHost is "blob-internals"
GetIOThreadTaskRunner({})->PostTask(
FROM_HERE,
base::BindOnce(
&StartBlobInternalsURLLoader, request, std::move(client),
base::Unretained(
ChromeBlobStorageContext::GetFor(browser_context_.get()))));
return;
}
Because of this missing scheme check, a request to chrome-search://blob-internals/ triggers the diagnostic loader. StartBlobInternalsURLLoader calls storage::ViewBlobInternalsJob::GenerateHTML, which iterates over the profile's global blob registry (blob_storage_context->registry().blob_map_). This generates an HTML representation of every blob in the profile.
Impact
A compromised renderer can read this HTML response and extract:
- Full on-disk file paths: Leaks the OS username and local paths from file-backed blobs (e.g., from
<input type=file>elements in other, isolated cross-origin tabs). - Filesystem URLs: Leaks cross-origin internal filesystem paths.
- Metadata: UUIDs, refcounts, content types, and sizes for all blobs in the profile.
Suggested Exploitation Steps
Note: These are potential steps; our tooling has not executed a live proof-of-concept.
- The attacker targets an Instant Process, for example by providing a third-party search engine that the user sets as default, which loads a remote HTTPS New Tab Page.
- The attacker compromises this renderer process (simulated via
--enable-blink-features=MojoJS). - Standard
fetch()calls tochrome-search://are blocked by Blink's renderer-side checks and CORS. To bypass this, the attacker uses MojoJS to directly bind to thenetwork::mojom::URLLoaderFactoryinterface provided in the renderer's loader factory bundle. - The attacker crafts a
network::ResourceRequestforchrome-search://blob-internals/and invokesCreateLoaderAndStart. - The browser process successfully processes the request, bypassing CORS, and returns the profile-wide blob HTML via the Mojo data pipe.
- The attacker reads the HTML from the data pipe, extracting the sensitive cross-origin data and local file paths.
Suggested Fix
Ensure that the special-case hosts (like blob-internals, network-error, and dino) in WebUIURLLoaderFactory::CreateLoaderAndStart are only reachable when the factory's scheme_ is strictly kChromeUIScheme (chrome://).
if (scheme_ == content::kChromeUIScheme && request.url.host() == kChromeUIBlobInternalsHost) {
Additionally, consider explicitly restricting the allowed_hosts for the chrome-search factory to only the necessary components (e.g., most-visited, favicon, theme) rather than using an empty set.
Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the WebUIURLLoaderFactory for the chrome-search scheme uses an empty allowed_hosts set (allowing all hosts) and dispatches requests for blob-internals based only on the host name, without checking that the scheme is chrome://.
Impact
A compromised renderer could read the blob-internals HTML and extract full on-disk file paths, cross-origin filesystem URLs, and metadata such as UUIDs, refcounts, content types, and sizes for all blobs in the profile.
What the attacker needed
Attacker controls a remote New Tab Page; user sets it as default search engine; attacker compromises the renderer process
The fix
The special-case hosts in WebUIURLLoaderFactory::CreateLoaderAndStart should only be reachable when the factory's scheme is strictly chrome://, and the allowed_hosts for the chrome-search factory should be explicitly restricted to necessary components.
How it was found
- The attacker targets an Instant Process, for example by providing a third-party search engine that the user sets as default, which loads a remote HTTPS New Tab Page.
- The attacker compromises this renderer process (simulated via `--enable-blink-features=MojoJS`).
- Standard `fetch()` calls to `chrome-search://` are blocked by Blink's renderer-side checks and CORS. To bypass this, the attacker uses MojoJS to directly bind to the `network::mojom::URLLoaderFactory` interface provided in the renderer's…
- The attacker crafts a `network::ResourceRequest` for `chrome-search://blob-internals/` and invokes `CreateLoaderAndStart`.
- The browser process successfully processes the request, bypassing CORS, and returns the profile-wide blob HTML via the Mojo data pipe.
- The attacker reads the HTML from the data pipe, extracting the sensitive cross-origin data and local file paths.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A web browser has internal pages for diagnostics. One such page lists temporary files (blobs) stored by websites. Normally, only trusted browser pages can see it. Here, a less-trusted page (the New Tab Page) could also reach it, so if an attacker takes over that page, they can read the list and learn about files from other sites.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.