GHSA-gr2m-v5gq-v685

Suggest an improvement
Source
https://github.com/advisories/GHSA-gr2m-v5gq-v685
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-gr2m-v5gq-v685/GHSA-gr2m-v5gq-v685.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gr2m-v5gq-v685
Aliases
Published
2026-09-29T18:05:11Z
Modified
2026-09-29T18:15:04Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions
Details

Impact

Windows opened from a sandboxed top-level document did not inherit that document's HTML sandbox restrictions, so content that was meant to run sandboxed could open a window with the app's full origin. GHSA-hq2x-r82h-9wj4 covers the same issue for sandboxed iframes.

Apps are only affected if they render untrusted content in a sandboxed top-level document that allows popups. Apps that deny popups from untrusted content with setWindowOpenHandler are not affected.

Workarounds

Return { action: 'deny' } from setWindowOpenHandler for windows opened by untrusted content.

Fixed Versions

  • 44.0.0-beta.5
  • 43.4.1
  • 42.9.2
  • 41.10.6

For more information

If you have any questions or comments about this advisory, email us at security@electronjs.org

Database specific
{
    "cwe_ids":  [
        "CWE-266",
        "CWE-693"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-29T18:05:11Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
41.10.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-gr2m-v5gq-v685/GHSA-gr2m-v5gq-v685.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
42.0.0-alpha.1
Fixed
42.9.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-gr2m-v5gq-v685/GHSA-gr2m-v5gq-v685.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
43.0.0-alpha.1
Fixed
43.4.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-gr2m-v5gq-v685/GHSA-gr2m-v5gq-v685.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
44.0.0-alpha.1
Fixed
44.0.0-beta.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-gr2m-v5gq-v685/GHSA-gr2m-v5gq-v685.json"