CVE-2023-23623
published high CVSS 3.1 · 7.5Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | electron>= 22.0.0-beta.1, < 22.0.1 · >= 23.0.0-alpha.1, < 23.0.0-alpha.2 | Affected | Not stated | GitHub_M |
| atom | — | electron22.0.0_beta.1 to < 22.0.1 · 23.0.0_alpha.1 to < 23.0.0_alpha.2 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electronaarch64 | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electronppc64le | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electrons390x | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electronx86_64 | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electron-develaarch64 | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electron-develppc64le | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
Show 6 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electron-devels390x | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electron-develx86_64 | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electron-docaarch64 | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electron-docppc64le | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electron-docs390x | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nodejs-electron-docx86_64 | Advisory build | 22.3.6-1.1 | OPENSUSE-SU-2024:12869-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | >= 22.0.0-beta.1, < 22.0.1 (affected)>= 23.0.0-alpha.1, < 23.0.0-alpha.2 (affected) | GitHub_M · cna |
| atom | electron | 22.0.0_beta.1 to < 22.0.1 (affected · custom)23.0.0_alpha.1 to < 23.0.0_alpha.2 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-670 CWE-670: Always-Incorrect Control Flow Implementation
References
1Provider assertions
3GitHub_M · cna
Content-Secrity-Policy disabling eval not applied consistently in renderers with sandbox disabled in Electron
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 183d835093daebb0df167ab76e1cfe138f6d3469a56fc531a6756f7dc7d9ea66
- Ingested
- 23 Sep 2026, 08:06:24 UTC
- Source record
- Official CVE record