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

Incorrect authorization in PermissionElement (CVE-2026-106280)

A namespace-prefixed <install> element bypasses the tag-name equality checks that enforce embedding and sandbox restrictions in Blink. In a normal renderer this only causes a fatal crash, but a compromised renderer could reach the browser's install service from a sandboxed frame and show a native web app installation prompt.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 4 months

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

Overview: A logical policy bypass in Blink's HTMLCapabilityElementBase allows bypassing <install>-specific embedding restrictions, including sandbox and subframe gates. While a standard renderer will safely crash upon successful element registration, a compromised renderer can exploit this missing validation to trigger native web app installation prompts from a sandboxed frame.

Affected files:

  • third_party/blink/renderer/core/html/html_capability_element_base.cc

Estimated timestamp from git blame: 2026-03-25

Root Cause

In third_party/blink/renderer/core/html/html_capability_element_base.cc, <install>-specific embedding and sandbox restrictions are gated using tag comparisons such as:

C++
if (TagQName() == html_names::kInstallTag && ...)

This invokes the equality operator in third_party/blink/renderer/core/dom/qualified_name.h:

C++
bool operator==(const QualifiedName& other) const {
  return impl_ == other.impl_;
}

Because the comparison is prefix-sensitive, an element created with a namespace prefix (e.g., document.createElementNS('http://www.w3.org/1999/xhtml', 'x:install')) will fail this comparison. Its internal tag_name_ is updated with the "x" prefix via SetTagNameForCreateElementNS, causing TagQName() == html_names::kInstallTag to evaluate to false and bypass all renderer-side checks (specifically at lines 635, 644, 1149, 1162, 1270, and 1277).

Impact Analysis and the Dual-Scenario Behavior

1. In a Non-Compromised Renderer (Deterministic Crash)

When a normal webpage inserts a prefixed <x:install> element into a sandboxed frame, the registration checks are bypassed, and the element successfully registers with the browser process. However, immediately upon registration, the renderer executes:

C++
RecordPermissionElementUseCounter(GetDocument(), TagQName());

Inside RecordPermissionElementUseCounter (located in third_party/blink/renderer/core/html/html_capability_element_metrics_util.cc at line 40), the prefixed tag_name fails the check against the null-prefixed html_names::kInstallTag and falls through to the else block, which contains NOTREACHED(). Because NOTREACHED() is fatal in production, the renderer process is terminated immediately. No user interaction or exploitation can occur.

2. In a Compromised Renderer (Sandbox Security Boundary Bypass)

If an attacker has already achieved arbitrary code execution within the sandboxed renderer process:

  • The attacker can bypass standard Blink rendering loops, registration, and metrics callbacks entirely, evading the fatal NOTREACHED() crash.
  • The attacker's compromised renderer can directly bind to the WebInstallService Mojo interface for a sandboxed top-level document (such as a popup inheriting sandbox flags).
  • The browser-side binder WebInstallServiceImpl::CreateIfAllowed only verifies that the caller is in the primary main frame (IsInPrimaryMainFrame()). It does not validate the calling frame's sandbox flags.
  • By directly calling InstallFromElement(options, callback) on the Mojo interface with triggered_from_element set to true, the browser-side service skips standard permission policy validation and triggers the native OS/browser-level web application installation prompt, allowing a sandboxed context to successfully show installation prompts to the user.

Potential Attack Steps (Compromised Renderer Scenario)

Note: These are potential steps as our tooling does not yet have the ability to run proof-of-concept code.

  1. From a sandboxed top-level main frame (e.g., a popup opened from a sandboxed iframe with allow-popups allow-scripts), the compromised renderer requests connection to the browser's WebInstallService Mojo remote.
  2. The browser-side WebInstallServiceImpl::CreateIfAllowed accepts the connection because the popup is a primary main frame, failing to verify the frame's sandbox status.
  3. The compromised renderer directly calls the Mojo method InstallFromElement with the target app's installation parameters.
  4. The browser process presents a native web app installation dialog to the user on behalf of the sandboxed origin.

Suggested Remediation

Replace prefix-sensitive equality checks with prefix-insensitive checks. In third_party/blink/renderer/core/html/html_capability_element_base.cc, change tag checks to use HasTagName or IsA type checks:

C++
// Before:
if (TagQName() == html_names::kInstallTag)

// After:
if (HasTagName(html_names::kInstallTag))
// Or:
if (IsA<HTMLInstallElement>(*this))

Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8


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

Likely the sandbox and embedding gates compare the element's qualified tag name for exact equality, so a namespace-prefixed element fails the comparison and skips the checks.

Impact

In a normal renderer the renderer process is terminated with no user interaction, so exploitation requires an already compromised renderer, which could then show installation prompts from a sandboxed context.

What the attacker needed

Already compromised renderer process; sandboxed popup with allow-popups allow-scripts

The fix

The tag checks should be replaced with prefix-insensitive checks such as HasTagName or an IsA type check.

How it was found

  1. From a sandboxed top-level main frame such as a popup, the compromised renderer asks to connect to the browser's install service.
  2. The browser-side check accepts the connection because the popup is a primary main frame and sandbox flags are not verified.
  3. The compromised renderer calls the install method directly with the target app's parameters.
  4. The browser shows a native web app installation dialog for the sandboxed origin.

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 page can create an element whose name carries a prefix, and the browser's check for the special install element compares the full name, so the prefixed version slips past it. On its own this just crashes the page's rendering process, so nothing bad happens. The report argues that an attacker who already controls that process could use the gap to make the browser offer to install a web app from a frame that should not be allowed to.

What is Access control?

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.

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.