Skip to content
Misconfiguration Advisory Advanced CVE-2026-84332

Incorrect authorization in SiteSettings (CVE-2026-84332)

A logic flaw in Chrome's JIT-disabling check causes it to skip enforcement for non-HTTP(S) schemes such as blob:, data: and filesystem:. An attacker could host a page that loads a sandboxed blob: iframe and have its code run with JIT enabled even when the user or an enterprise policy has disabled JIT.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 3 months

Flapjack, 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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.

Overview: A logic flaw in ChromeContentBrowserClient::IsJitDisabledForSite potentially allows web content to bypass the JavaScript JIT content setting. By executing code within a sandboxed frame using a blob: URL, an attacker can force the browser to enable JIT optimizations in that process, circumventing defense-in-depth policies.

Affected files:

  • chrome/browser/chrome_content_browser_client.cc

Estimated timestamp from git blame: 2021-06-16

Summary

The ChromeContentBrowserClient::IsJitDisabledForSite function contains a logic flaw that potentially allows sites to bypass the "JavaScript JIT" content setting restriction. This setting is intended as a defense-in-depth mitigation to prevent JIT-related vulnerabilities from being exploited. Because the function explicitly enables JIT for any URL that does not strictly use the HTTP or HTTPS schemes, it fails to enforce the policy for other web-safe schemes like blob:, data:, and filesystem:.

Vulnerability Details

In chrome/browser/chrome_content_browser_client.cc, the IsJitDisabledForSite function evaluates whether JIT should be disabled for a given site_url. The implementation has the following check:

C++
  // Only disable JIT for web schemes.
  if (!site_url.SchemeIsHTTPOrHTTPS()) {
    return false;
  }

The check !site_url.SchemeIsHTTPOrHTTPS() returns false (meaning JIT is enabled) for any URL that is not http: or https:.

When a site creates a sandboxed iframe and navigates it to an opaque-origin blob: URL, content::SiteInfo::Create determines that the frame requires a dedicated process (RequiresDedicatedProcessInternal returns true because the frame is sandboxed). As a result, the agent_cluster_url_or_default passed to IsJitDisabledForSite resolves to the literal blob: URL (e.g., blob:https://example.com/guid).

Since GURL::SchemeIsHTTPOrHTTPS() returns false for blob schemes, the function immediately returns false, enabling JIT for that execution context regardless of global user settings or enterprise policies blocking JIT. This behavior is inconsistent with AreV8OptimizationsEnabledForSite in the same file, which correctly uses ChildProcessSecurityPolicy::GetInstance()->IsWebSafeScheme(site_url.GetScheme()) to restrict optimizations across all relevant web schemes.

Potential Attacker Steps

Note: These are suggested/potential steps based on static analysis. Our tooling agent does not have the ability to run code to confirm a working Proof of Concept.

  1. The victim's browser is configured to disable JavaScript JIT globally via the JAVASCRIPT_JIT content setting or enterprise policy.
  2. An attacker hosts a malicious website that creates a Blob containing a V8 JIT exploit payload and calls URL.createObjectURL(blob).
  3. The attacker dynamically creates an iframe with the attribute sandbox="allow-scripts" to force an opaque origin and dedicated process allocation, setting its src to the generated blob: URL.
  4. When the browser allocates the new renderer process for the sandboxed iframe, IsJitDisabledForSite evaluates the blob: URL, hits the early return, and enables JIT.
  5. The attacker's payload executes with JIT optimizations enabled, bypassing the policy and allowing the underlying V8 JIT vulnerability to be exploited.

Suggested Fix

Update ChromeContentBrowserClient::IsJitDisabledForSite to use a more inclusive check for web-safe schemes. Instead of restricting the check to SchemeIsHTTPOrHTTPS(), use ChildProcessSecurityPolicy::GetInstance()->IsWebSafeScheme(site_url.GetScheme()), similar to the approach taken in AreV8OptimizationsEnabledForSite. This ensures that JIT policies are accurately enforced for all schemes that can load and execute web content.

Evaluated with Chrome root at commit: b7d0c4d810da1b31400f198c70d9720fc8f0e5a0


Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:

  • If you are familiar with the severity guidelines, you may adjust the severity.
  • If this is a false positive, and there's no work to be done, please close as WAI.
  • If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.

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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

The check uses SchemeIsHTTPOrHTTPS() instead of a web-safe scheme test, so any non-HTTP(S) URL such as blob: is treated as not needing JIT disabled.

Impact

A site could run JavaScript with JIT enabled despite a user or enterprise policy that disables it, weakening a defence-in-depth measure; the report does not demonstrate a working exploit and notes the steps are unconfirmed static analysis.

What the attacker needed

JIT disabled by setting or policy; victim visits attacker page; browser supports sandboxed blob iframes

The fix

The check should use the browser's web-safe scheme test, as the neighbouring optimisation function already does, so the JIT policy applies to blob:, data: and filesystem: as well.

How it was found

  1. The victim's browser is set to disable JavaScript JIT through the content setting or an enterprise policy.
  2. The attacker's page creates a blob containing a JIT exploit payload and obtains a blob: URL for it.
  3. The page creates a sandboxed iframe with scripts allowed and points it at the blob: URL, forcing an opaque origin and a dedicated process.
  4. When the renderer starts, the JIT check sees the blob: URL, takes the early return, and leaves JIT enabled.
  5. The payload runs with JIT optimisations on, defeating the policy.

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.

Browsers can turn off a speed feature called JIT, which compiles JavaScript into fast machine code, as an extra safety measure because JIT bugs are a common way to break out of the browser's sandbox. This report says Chrome's check for that setting only looks at normal web addresses and ignores other kinds of web content, so a page could still get the fast code path. The result is that a safety switch the user or their company turned on may not actually apply.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.