BreachSpiderVerified, not vibes

CVE-2023-23623 in Electronjs Electron

Critical 9.8

Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. A Content-Security-Policy that disables eval, specifically setting a `script-src` directive and _not_ providing `unsafe-eval` in that directive, is not respected in renderers that have sandbox disabled. ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
EPSS0.8%
EPSS percentile55th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Electronjs Electron 22.0.0 23.0.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. A Content-Security-Policy that disables eval, specifically setting a `script-src` directive and _not_ providing `unsafe-eval` in that directive, is not respected in renderers that have sandbox disabled. i.e. `sandbox: false` in the `webPreferences` object. This allows usage of methods like `eval()` and `new Function` unexpectedly which can result in an expanded attack surface. This issue only ever affected the 22 and 23 major versions of Electron and has been fixed in the latest versions of those release lines. Specifically, these versions contain the fixes: 22.0.1 and 23.0.0-alpha.2 We recommend all apps upgrade to the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without upgrading by enabling `sandbox: true` on all renderers.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-23623
BreachSpider IDBS-2023-GLOBAL-329394-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2023-09-06
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-670: CWE-670

Analysis AI-written, not human-reviewed

CVE-2023-23623 affects Electron applications where the Content-Security-Policy (CSP) directive `script-src` without `unsafe-eval` is not respected in renderers with sandboxing disabled. This vulnerability allows the use of eval and other methods, potentially leading to remote code execution.

An attacker can exploit this vulnerability by injecting malicious scripts into an Electron application that has sandboxing disabled. The lack of respect for the CSP directive `script-src` without `unsafe-eval` allows the execution of arbitrary code, which can lead to remote code execution.

Questions

What is CVE-2023-23623?

CVE-2023-23623 affects Electron applications where the Content-Security-Policy (CSP) directive `script-src` without `unsafe-eval` is not respected in renderers with sandboxing disabled. This vulnerability allows the use of eval and other methods, potentially leading to remote code execution.

What is the CVSS score for CVE-2023-23623?

CVE-2023-23623 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.8%.

Is CVE-2023-23623 actively exploited?

No confirmed active exploitation of CVE-2023-23623 as of 2026-09-25.

How do I remediate CVE-2023-23623?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2023-23623?

CVE-2023-23623 affects Electronjs Electron.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Electronjs","product":"Electron","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.