GHSA-997q-gvvc-jwmx

Suggest an improvement
Source
https://github.com/advisories/GHSA-997q-gvvc-jwmx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-997q-gvvc-jwmx/GHSA-997q-gvvc-jwmx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-997q-gvvc-jwmx
Aliases
Published
2026-10-22T16:43:59Z
Modified
2026-10-22T17:00:05Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Electron: openExternal permission requests can be attributed to the wrong origin
Details

Impact

Requests to open external protocol URLs could be attributed to a document other than the one that asked for them, so the requestingUrl passed to session.setPermissionRequestHandler was a trusted origin for a launch untrusted content had requested. An origin-based handler could therefore let untrusted content launch an OS-registered external application.

Apps are only affected if they grant openExternal based on the requesting origin and let untrusted content open or navigate windows. Apps whose permission handler denies openExternal for untrusted content are not affected.

Workarounds

Deny the openExternal permission for untrusted content, or deny the windows it opens with setWindowOpenHandler.

Fixed Versions

  • 45.0.0-alpha.5
  • 44.3.0
  • 43.7.0
  • 42.11.3

For more information

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

Database specific
{
    "cwe_ids":  [
        "CWE-346"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-10-22T16:43:59Z",
    "nvd_published_at":  "2026-10-21T17:18:25Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / electron

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-997q-gvvc-jwmx/GHSA-997q-gvvc-jwmx.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
43.0.0-alpha.1
Fixed
43.7.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-997q-gvvc-jwmx/GHSA-997q-gvvc-jwmx.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
44.0.0-alpha.1
Fixed
44.3.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-997q-gvvc-jwmx/GHSA-997q-gvvc-jwmx.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
45.0.0-alpha.1
Fixed
45.0.0-alpha.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-997q-gvvc-jwmx/GHSA-997q-gvvc-jwmx.json"