{"cve":"CVE-2020-4075","nvd":{"published":"2020-07-07T00:15:10.513","modified":"2026-06-17T03:19:31.467","status":"Modified","description":"In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` on all new-window events where the `url` or `options` is not something you expect. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-552"],"references":["https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm","https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824","https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm","https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824"],"products":["electronjs:electron"],"source":"nvd","synced_at":"2026-10-19T21:06:22.076270124+00:00"},"epss":{"cve":"CVE-2020-4075","score":0.01175,"percentile":0.67575,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f9mq-jph6-9mhm","url":"https://osv.dev/vulnerability/GHSA-f9mq-jph6-9mhm","summary":"Arbitrary file read via window-open IPC in Electron","modified":"2026-07-08T05:59:36.781612037Z","packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":["<7.2.4"],"fixed":["7.2.4"]},{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=8.0.0 <8.2.4"],"fixed":["8.2.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}