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

CVE-2020-15174: Improper Input Validation

October 6, 2020 (updated November 18, 2021)

In Electron the will-navigate event that apps use to prevent navigations to unexpected destinations as per our security recommendations can be bypassed when a sub-frame performs a top-frame navigation across sites. The issue is patched As a workaround sandbox all your iframes using the sandbox attribute. This will prevent them creating top-frame navigations and is good practice anyway.

References

  • nvd.nist.gov/vuln/detail/CVE-2020-15174

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 8.0.0 before 8.5.1, all versions starting from 9.0.0 before 9.3.0, all versions starting from 10.0.0 before 10.0.1

Fixed versions

  • 8.5.1
  • 9.3.0
  • 10.0.1

Solution

Upgrade to versions 8.5.1, 9.3.0, 10.0.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Source file

npm/electron/CVE-2020-15174.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:12 +0000.