GHSA-f9mq-jph6-9mhm

Suggest an improvement
Source
https://github.com/advisories/GHSA-f9mq-jph6-9mhm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-f9mq-jph6-9mhm/GHSA-f9mq-jph6-9mhm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-f9mq-jph6-9mhm
Aliases
Published
2020-07-07T00:01:13Z
Modified
2026-07-08T05:59:36Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Arbitrary file read via window-open IPC in Electron
Details

Impact

The vulnerability allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.

Workarounds

Ensure you are calling event.preventDefault() on all new-window events where the url or options is not something you expect.

Fixed Versions

  • 9.0.0-beta.21
  • 8.2.4
  • 7.2.4

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [
        "CWE-552"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-07-06T23:54:56Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / electron

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-f9mq-jph6-9mhm/GHSA-f9mq-jph6-9mhm.json"

npm / electron

Package

Affected ranges

Type
SEMVER
Events
Introduced
8.0.0
Fixed
8.2.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-f9mq-jph6-9mhm/GHSA-f9mq-jph6-9mhm.json"