{"answers":{"affected":"8 open source packages ship an affected version, including electron. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-15215 in the wild and no public exploit code.","fix":"Upgrade electron to a fixed version for your release line: 10.1.2, 11.0.0-beta.6, 8.5.2 or 9.3.1.","what":"CVE-2020-15215 is a medium-severity vulnerability in Electronjs Electron, published on 6 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-15215 and fix it if it is affected.\n\nWhat it is: CVE-2020-15215 is a medium-severity vulnerability in Electronjs Electron, published on 6 Oct 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-15215 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- electron (npm): affected from 10.0.0-beta.0; fixed in 10.1.2\n- electron (npm): affected from 10.0.0-beta.0; fixed in 10.1.2\n- electron (npm): affected from 11.0.0-beta.0; fixed in 11.0.0-beta.6\n- electron (npm): affected from 11.0.0-beta.0; fixed in 11.0.0-beta.6\n- electron (npm): affected from 8.0.0-beta.0; fixed in 8.5.2\n- electron (npm): affected from 8.0.0-beta.0; fixed in 8.5.2\n- electron (npm): affected from 9.0.0-beta.0; fixed in 9.3.1\n- electron (npm): affected from 9.0.0-beta.0; fixed in 9.3.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-15215/ (Markdown: https://insights.sbomify.com/CVE-2020-15215/index.md)","id":"CVE-2020-15215","markdown":"https://insights.sbomify.com/CVE-2020-15215/index.md","name":"CVE-2020-15215","record":{"aliases":["GHSA-56pc-6jqp-xqj8"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Electron framework","requires_auth":"none","summary":"Attackers can bypass context isolation in Electron apps with specific sandbox settings to execute privileged code from the renderer process.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"electron","vendor":"electronjs"}],"cvss":{"score":5.6,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-693","name":"Protection Mechanism Failure"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"description":"Electron before versions 11.0.0-beta.6, 10.1.2, 9.3.1 or 8.5.2 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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2022-05-13","github_poc":1,"max_poc_stars":16,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-05-13T03:24:58Z","kind":"github_poc","ref":"https://github.com/NishantIyer/CVE-2020-15215-Discord-POC","stars":16,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Context isolation bypass in Electron","id":"CVE-2020-15215","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"electronjs:electron","products":["electronjs:electron"],"type":"security_feature_bypass","year":"2020"},"n_packages":8,"n_references":1,"next":{"headline":"Signature Validation Bypass in goxmldsig","id":"CVE-2020-15216"},"packages":[{"ecosystem":"npm","fixed":["10.1.2"],"introduced":["10.0.0-beta.0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-56pc-6jqp-xqj8"},{"ecosystem":"npm","fixed":["10.1.2"],"introduced":["10.0.0-beta.0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-56pc-6jqp-xqj8"},{"ecosystem":"npm","fixed":["11.0.0-beta.6"],"introduced":["11.0.0-beta.0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-56pc-6jqp-xqj8"},{"ecosystem":"npm","fixed":["11.0.0-beta.6"],"introduced":["11.0.0-beta.0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-56pc-6jqp-xqj8"},{"ecosystem":"npm","fixed":["8.5.2"],"introduced":["8.0.0-beta.0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-56pc-6jqp-xqj8"},{"ecosystem":"npm","fixed":["8.5.2"],"introduced":["8.0.0-beta.0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-56pc-6jqp-xqj8"},{"ecosystem":"npm","fixed":["9.3.1"],"introduced":["9.0.0-beta.0"],"last_affected":[],"package":"electron","purl":null,"source":"GHSA-56pc-6jqp-xqj8"},{"ecosystem":"npm","fixed":["9.3.1"],"introduced":["9.0.0-beta.0"],"last_affected":[],"package":"electron","purl":"pkg:npm/electron","source":"GHSA-56pc-6jqp-xqj8"}],"prev":{"headline":"Out of bounds write in tensorflow-lite","id":"CVE-2020-15214"},"products":["electron"],"published":"2020-10-06","related":[{"cvss_score":9.8,"headline":"Chromium Remote Code Execution in electron","id":"CVE-2017-16151","kev_date_added":null,"published":"2018-06-07"},{"cvss_score":8.8,"headline":"Electron protocol handler browser vulnerable to Command Injection","id":"CVE-2018-1000118","kev_date_added":null,"published":"2018-03-07"},{"cvss_score":8.4,"headline":"Electron: Context Isolation bypass via contextBridge VideoFrame transfer","id":"CVE-2026-34780","kev_date_added":null,"published":"2026-04-04"},{"cvss_score":8.3,"headline":"Electron: \u003cwebview\u003e can enable Node.js integration in Web Workers despite embedder restrictions","id":"CVE-2026-102676","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.2,"headline":"Electron drops inherited HTML sandbox restrictions for popups opened through OpenURLFromTab","id":"CVE-2026-102673","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.2,"headline":"Electron: Windows opened from a sandboxed top-level document do not inherit its sandbox restrictions","id":"CVE-2026-102674","kev_date_added":null,"published":"2026-09-29"},{"cvss_score":8.1,"headline":"Electron: Use-after-free in offscreen child window paint callback","id":"CVE-2026-34774","kev_date_added":null,"published":"2026-04-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["electron"]},"summary":"Attackers can bypass context isolation in Electron apps with specific sandbox settings to execute privileged code from the renderer process.","url":"https://insights.sbomify.com/CVE-2020-15215/"}