Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. electron
  4. ›
  5. CVE-2020-4075

CVE-2020-4075: Files or Directories Accessible to External Parties

July 7, 2020 (updated July 13, 2020)

In Electron, an 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-4075
  • www.electronjs.org/releases/stable?page=3

Code Behaviors & Features

Detect and mitigate CVE-2020-4075 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 7.0.0 before 7.2.4, all versions starting from 8.0.0 before 8.2.4, version 9.0.0

Fixed versions

  • 7.2.4
  • 8.2.4
  • 9.0.1

Solution

Upgrade to versions 7.2.4, 8.2.4, 9.0.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-552: Files or Directories Accessible to External Parties

Source file

npm/electron/CVE-2020-4075.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:59 +0000.