cve.bz

CVE-2020-4075 electronjs electron

7.5 highEPSS 1.2%Fix available

High (7.5) in electronjs electron. EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in electron 7.2.4, 8.2.4.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-552 Files or Directories Accessible to External Parties
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-4075 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-4075?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-4075?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-4075 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
electronjs:electronfrom 7.0.0 before 7.2.4
electronjs:electronfrom 8.0.0 before 8.2.4
electronjs:electron9.0.0
electronjs:electron9.0.0:beta1
electronjs:electron9.0.0:beta10
electronjs:electron9.0.0:beta11
electronjs:electron9.0.0:beta12
electronjs:electron9.0.0:beta13
electronjs:electron9.0.0:beta14
electronjs:electron9.0.0:beta15
electronjs:electron9.0.0:beta16
electronjs:electron9.0.0:beta17
electronjs:electron9.0.0:beta18
electronjs:electron9.0.0:beta19
electronjs:electron9.0.0:beta2
electronjs:electron9.0.0:beta20
electronjs:electron9.0.0:beta3
electronjs:electron9.0.0:beta4
electronjs:electron9.0.0:beta5
electronjs:electron9.0.0:beta6
electronjs:electron9.0.0:beta7
electronjs:electron9.0.0:beta8
electronjs:electron9.0.0:beta9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f9mq-jph6-9mhmnpmelectron<7.2.47.2.4
GHSA-f9mq-jph6-9mhmnpmelectron>=8.0.0 <8.2.48.2.4

Attack patterns (CAPEC)

  • CAPEC-150 Collect Data from Common Resource Locations Severity: Medium
  • CAPEC-639 Probe System Files Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON