Search for vulnerabilities
Vulnerability details: VCID-hpmc-kxwf-bqer
Vulnerability ID VCID-hpmc-kxwf-bqer
Aliases CVE-2020-4075
GHSA-f9mq-jph6-9mhm
Summary Arbitrary file read via window-open IPC in Electron ### 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`](https://electronjs.org/docs/api/web-contents#event-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: * Email us at [security@electronjs.org](mailto:security@electronjs.org)
Status Published
Exploitability 0.5
Weighted Severity 6.8
Risk 3.4
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
epss 0.00264 https://api.first.org/data/v1/epss?cve=CVE-2020-4075
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-f9mq-jph6-9mhm
cvssv3.1 6.8 https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm
cvssv3.1_qr MODERATE https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm
generic_textual MODERATE https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm
cvssv2 2.1 https://nvd.nist.gov/vuln/detail/CVE-2020-4075
cvssv3.1 6.8 https://nvd.nist.gov/vuln/detail/CVE-2020-4075
cvssv3.1 7.5 https://nvd.nist.gov/vuln/detail/CVE-2020-4075
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2020-4075
cvssv3.1 6.8 https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
generic_textual MODERATE https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
Reference id Reference type URL
https://api.first.org/data/v1/epss?cve=CVE-2020-4075
https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm
https://nvd.nist.gov/vuln/detail/CVE-2020-4075
https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:-:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:-:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta1:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta10:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta10:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta11:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta11:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta12:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta12:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta13:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta13:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta14:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta14:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta15:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta15:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta16:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta16:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta17:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta17:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta18:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta18:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta19:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta19:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta2:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta2:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta20:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta20:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta3:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta3:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta4:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta4:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta5:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta5:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta6:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta6:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta7:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta7:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta8:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta8:*:*:*:*:*:*
cpe:2.3:a:electronjs:electron:9.0.0:beta9:*:*:*:*:*:* https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:electronjs:electron:9.0.0:beta9:*:*:*:*:*:*
GHSA-f9mq-jph6-9mhm https://github.com/advisories/GHSA-f9mq-jph6-9mhm
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N Found at https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2020-4075
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2020-4075
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2020-4075
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N Found at https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.49628
EPSS Score 0.00264
Published At July 30, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:47:59.492460+00:00 GithubOSV Importer Import https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/07/GHSA-f9mq-jph6-9mhm/GHSA-f9mq-jph6-9mhm.json 37.0.0