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

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

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. This branch's copy of the fix (PR #52830) carries the same strong write-up: the inheritance lists omitted nodeIntegrationInWorker, so a webpreferences attribute could give a guest a Node environment its embedder had deliberately disabled, and the change adds the option to both lists. The header is clean, the type is correct, and the explanation is complete. Only the lack of a scope separates it from exemplary. Style-wise the header is clean and the paragraph is separated correctly; the remaining gap is purely the optional scope, so no formal repair is needed - only a reader who wants the precise inheritance list might still open the diff.

Browse categories

More fix examples · Back to search