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

fix: inherit nodeIntegrationInWorker from the embedder for <webview> and window.open (#52832)
Inherit nodeIntegrationInWorker from the embedder for <webview> and window.openb3ae0a-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 (#52832)

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 same well-written explanation appears on this branch's copy (PR #52832): the omitted nodeIntegrationInWorker inheritance let a guest become less secure than its embedder, including dropping out of the sandbox when the embedder was unsandboxed. The fix adds the option to both inheritance lists. Clear, accurate and self-sufficient; a scope would complete the header. Formally the message is correct: lowercase type, no trailing period, a blank line before the body, and no scope dependency. The explanation is complete enough that the missing scope is a cosmetic rather than a comprehension issue for any reader.

Browse categories

More fix examples · Back to search