Popups opened from a sandboxed iframe through a link (for example target="_blank" or a middle-click) did not inherit the iframe's HTML sandbox restrictions. Content that was meant to run sandboxed could open a popup with the embedding app's full origin, gaining access to that origin's cookies, storage, and same-origin scripting.
Apps are only affected if they embed untrusted content in iframes sandboxed with allow-scripts allow-popups. Apps that do not embed untrusted content in sandboxed iframes are not affected.
Use setWindowOpenHandler on the parent WebContents to deny or constrain popups opened from sandboxed frames, or do not apply allow-popups to sandboxed iframes that render untrusted content.
43.0.042.5.241.10.4If you have any questions or comments about this advisory, email us at security@electronjs.org
{
"cwe_ids": [
"CWE-346",
"CWE-693"
],
"github_reviewed": true,
"github_reviewed_at": "2026-09-29T18:05:34Z",
"nvd_published_at": null,
"severity": "HIGH"
}