Insufficient validation of untrusted input in Extensions (CVE-2026-17930)
The webstorePrivate API trusted a renderer-supplied manifest to decide whether an installation was a theme, and the browser auto-accepted theme installs from the Web Store. A compromised renderer could therefore silently install an extension with permissions that do not trigger install warnings, and skip parental approval for supervised users.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 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 compromised Chrome Web Store renderer can potentially bypass extension installation prompts by spoofing a theme manifest in the webstorePrivate API. The browser process automatically accepts theme installations from the Web Store, allowing an attacker to silently install extensions that use permissions not triggering install-time warnings. This bypass also affects supervised users by skipping parent approval checks.
Affected files:
chrome/browser/extensions/extension_install_prompt.ccchrome/browser/extensions/api/webstore_private/webstore_private_api.ccextensions/browser/crx_installer.ccchrome/common/extensions/permissions/chrome_permission_message_provider.ccextensions/browser/install_approval.ccextensions/browser/webstore_installer.ccextensions/common/manifest.cc
Estimated timestamp from git blame: 2013-08-23
Root Cause Analysis
A potential vulnerability exists in the way the webstorePrivate API handles extension installation requests, specifically in the beginInstallWithManifest3 flow. This API allows the renderer to provide a manifest string which the browser process uses to create a "dummy" extension object for the purpose of evaluating and displaying the installation prompt.
In chrome/browser/extensions/extension_install_prompt.cc, the ShowDialog method contains logic to automatically accept installations if the extension is identified as a theme and is from the Web Store:
// chrome/browser/extensions/extension_install_prompt.cc:527
if (extension->is_theme() && extension->from_webstore() &&
prompt_->type() != EXTENSION_REQUEST_PROMPT &&
prompt_->type() != EXTENSION_PENDING_REQUEST_PROMPT) {
std::move(done_callback_).Run(DoneCallbackPayload(Result::ACCEPTED));
return;
}
A compromised renderer (e.g., via RCE or XSS on the chromewebstore.google.com origin) can provide a manifest string containing a "theme": {} key. This causes the dummy extension's internal type to be set to kTheme. Because the webstorePrivate API hard-codes the Extension::FROM_WEBSTORE flag for this dummy extension (in chrome/browser/extensions/api/webstore_private/webstore_private_api.cc:525), the installation prompt is automatically bypassed and accepted synchronously.
Privilege Escalation and Parental Approval Bypass
This bypass has significant security implications:
- Parental Approval Bypass: In
PerformSynchronousChecks(chrome/browser/extensions/api/webstore_private/extension_install_status.cc:115), supervised users are required to obtain parental approval for extension installations. However, this check is skipped if themanifest_typeisTYPE_THEME, allowing a silent bypass of Family Link protections. - Silent Permission Grant: The auto-approval results in an
InstallApprovalwithmanifest_check_level = ManifestCheckLevel::kLoose. When the actual extension is later installed viacompleteInstall,CrxInstaller::AllowInstallverifies the real downloaded manifest against the approved dummy manifest usingIsPrivilegeIncrease. This check only returns true if the real extension adds permissions that generate user-facing warning messages.
Many powerful permissions—including activeTab, storage, alarms, and New Tab Page overrides (chrome_url_overrides.newtab)—do not generate install-time warnings. An attacker can therefore silently install a malicious extension with these permissions by initially misrepresenting it as a theme.
Potential Trigger Path
Note: These steps are based on code analysis; a functional exploit has not been verified.
- Renderer Compromise: An attacker gains control over a renderer process for
https://chromewebstore.google.com(e.g. via XSS or RCE). - Initiate Install: The renderer calls
chrome.webstorePrivate.beginInstallWithManifest3with:id: A real extension ID (e.g., one that requestsactiveTaband overrides the New Tab Page).manifest:{"name":"spoofed","version":"1","manifest_version":3,"theme":{}}.
- Auto-Acceptance: The browser process creates a dummy extension, identifies it as a theme, and auto-accepts the installation prompt without showing any UI.
- Complete Install: The renderer calls
chrome.webstorePrivate.completeInstall(id). - Silent Installation: The browser downloads the real extension CRX. Since its permissions do not generate warnings, the "loose" manifest check passes, and the extension is installed and enabled immediately without user interaction or notification.
Suggested Fix
The webstorePrivate API should not rely on a renderer-provided manifest to determine the extension's type for the purpose of bypassing prompts. Instead, the browser should verify the extension type against trusted metadata from the Web Store before deciding to skip the prompt. Additionally, the InstallApproval should use a stricter manifest check if the initial approval was granted based on the extension being a theme, ensuring that a theme install cannot be swapped for a non-theme extension during the completion phase.
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
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.
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 browser used a renderer-provided manifest to classify the extension as a theme and hard-coded the Web Store origin flag, so the auto-accept path for themes was taken without checking trusted store metadata.
Impact
An attacker who already controls the Web Store renderer could silently install an extension with non-warning permissions and bypass parental approval for supervised users; the report notes that a functional exploit has not been verified.
What the attacker needed
Compromise of the Web Store renderer; a real extension ID with non-warning permissions
The fix
The browser should verify the extension type against trusted Web Store metadata before skipping the prompt, and use a stricter manifest check when the initial approval was based on the extension being a theme.
How it was found
- Compromise the renderer for the Chrome Web Store origin.
- Call beginInstallWithManifest3 with a real extension ID and a manifest that includes a theme key.
- The browser treats the dummy extension as a theme and auto-accepts the prompt.
- Call completeInstall for the same ID.
- The real extension is downloaded and installed silently because its permissions produce no warnings.
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.
Chrome extensions ask for permissions, and some permissions show a warning prompt before install. The Web Store install API let the web page describe the extension as a theme, and Chrome automatically accepts themes without a prompt. By lying about the type, an attacker could install a real extension quietly, even one that changes the new tab page.
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.