RCE in Codex Editor.js
CVE-2022-23474
- CVSS v3
- 6.1 Medium
- Public exploits
- None known
- EPSS
- 0.006 · 49.1th percentile
- Published
- 2022-12-15
Editor.js is a block-style editor with clean JSON output. Versions prior to 2.26.0 are vulnerable to Code Injection via pasted input. The processHTML method passes pasted input into wrapper’s innerHTML. This issue is patched in version 2.26.0.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.006, 49.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Codex Editor.js
- Codex-Team Editor.js — versions 2.26.0
Weakness classification (CWE)
References
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ (Exploit, Patch, Third Party Advisory)
- https://github.com/codex-team/editor.js/pull/2100 (Exploit, Patch, Third Party Advisory)