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

CVE-2020-15215: Exposure of Resource to Wrong Sphere

October 6, 2020 (updated October 19, 2020)

Electron is vulnerable to a context isolation bypass. Apps using both contextIsolation and sandbox: true are affected. Apps using both contextIsolation and nodeIntegrationInSubFrames: true are affected. This is a context isolation bypass, meaning that code running in the main world context in the renderer can reach into the isolated Electron context and perform privileged actions.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2020-15215 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 8.0.0 up to 8.0.3, all versions starting from 8.1.0 up to 8.1.1, all versions starting from 8.2.0 up to 8.2.5, all versions starting from 8.3.0 up to 8.3.4, all versions starting from 8.4.0 up to 8.4.1, all versions starting from 8.5.0 up to 8.5.1, all versions starting from 9.0.0 up to 9.0.6, all versions starting from 9.1.0 up to 9.1.2, all versions starting from 9.2.0 up to 9.2.1, version 9.3.0, all versions starting from 10.0.0 up to 10.0.1, all versions starting from 10.1.0 up to 10.1.1, version 11.0.0

Fixed versions

  • 8.5.2
  • 9.3.1
  • 10.1.2

Solution

Upgrade to versions 8.5.2, 9.3.1, 10.1.2 or above.

Impact 5.6 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-668: Exposure of Resource to Wrong Sphere
  • CWE-693: Protection Mechanism Failure

Source file

npm/electron/CVE-2020-15215.yml

Spotted a mistake? Edit the file on GitLab.

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

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