Inherit nodeIntegrationInWorker from the embedder for <webview> and window.open

fix: inherit nodeIntegrationInWorker from the embedder for <webview> and window.open (#52829)
Inherit nodeIntegrationInWorker from the embedder for <webview> and window.open6462a2-fix-inherit-nodeintegrationinworker-from-the-embedder-for-cve-2026-102676fixinherit nodeintegrationinworker embedder webview window open

Committed by trop[bot]

commit message
fix: inherit nodeIntegrationInWorker from the embedder for <webview> and window.open (#52829)

The list of security options a <webview> guest always inherits from its
embedder, and the equivalent list child windows inherit from their parent,
omitted nodeIntegrationInWorker. As a result the webpreferences attribute
could set nodeIntegrationInWorker on a guest whose embedder had it disabled,
giving the guest's dedicated workers a Node environment the embedder itself
did not grant (and, with an unsandboxed embedder, dropping the guest out of
the sandbox). Add nodeIntegrationInWorker to both inheritance lists so a
guest can never be less secure than its embedder for this option.
 
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Sam Attard <[email protected]>

Editor assessment

This commit patches CVE-2026-102676. The body is the model for a security fix: it explains which inheritance lists omitted nodeIntegrationInWorker, that a webpreferences attribute could therefore grant a guest a Node environment its embedder had disabled, and that the fix adds the option to both lists so a guest can never be less secure than its embedder. Subject, type and imperative style are clean; the only formal gap is the absent scope, which is genuinely optional here. A reader understands both what changed and why without opening the diff.

Browse categories

More fix examples · Back to search