Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Electronjs | Electron | >= 7.0.0, < 7.2.4 |
Related Weaknesses (CWE)
References
- https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhmThird Party Advisory
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824Release NotesVendor Advisory
- https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhmThird Party Advisory
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824Release NotesVendor Advisory
FAQ
What is CVE-2020-4075?
CVE-2020-4075 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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 yo...
How severe is CVE-2020-4075?
CVE-2020-4075 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-4075?
Check the references section above for vendor advisories and patch information. Affected products include: Electronjs Electron.