{"id":"CVE-2020-4075","aliases":["GHSA-f9mq-jph6-9mhm"],"url":"https://o3.security/vulnerability/CVE-2020-4075","summary":"Arbitrary file read via window-open IPC in Electron","details":"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.","published":"2020-07-07T00:15:10.513Z","modified":"2026-08-07T11:31:13.168036472Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"npm","name":"electron","fixedVersion":"7.2.4"},{"ecosystem":"npm","name":"electron","fixedVersion":"8.2.4"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm"},{"type":"ADVISORY","url":"https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:31:13.168036472Z"}}