CVE-2020-4075
Last modified
CVE-2020-4075 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.18% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Electronjs | Electron | >= 7.0.0, < 7.2.4 |
| Electronjs | Electron | >= 8.0.0, < 8.2.4 |
| Electronjs | Electron | 9.0.0 |
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 Notes, Vendor 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 Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-4075?
How severe is CVE-2020-4075?
How do I fix CVE-2020-4075?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-4067In coturn before version 4.5.1.3, there is an issue whereby …7.5
- CVE-2020-4068In APNSwift 1.0.0, calling APNSwiftSigner.sign(digest:) is l…9.8
- CVE-2020-4070In CSS Validator less than or equal to commit 54d68a1, there…5.4
- CVE-2020-4071In django-basic-auth-ip-whitelist before 0.3.4, a potential …2.4
- CVE-2020-4072In generator-jhipster-kotlin version 1.6.0 log entries are c…5.3
- CVE-2020-4074In PrestaShop from version 1.5.0.0 and before version 1.7.6.…9.8
- CVE-2020-4076In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, …9
- CVE-2020-4077In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, …9.9
- CVE-2020-4079Combodo iTop is a web based IT Service Management tool. In i…7.7
- CVE-2020-4080HCL Verse v10 and v11 is susceptible to a Stored Cross-Site …6.1
- CVE-2020-4081In Digital Experience 8.5, 9.0, and 9.5, WSRP consumer is vu…6.1
- CVE-2020-4082The HCL Connections 5.5 help system is vulnerable to cross-s…5.4
Are you affected by CVE-2020-4075?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
