RCE in Codex Editor.js
CVE-2022-23474
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.
EPSS exploit prediction
EPSS: 0.005 (44.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 44.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: +0.000
Affected products
- Codex Editor.js
- Codex-Team Editor.js — versions 2.26.0
Weakness classification (CWE)
References
- securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ (Exploit, Patch, Third Party Advisory)
- github.com/codex-team/editor.js/pull/2100 (Exploit, Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-23474?
- CVE-2022-23474 is a medium-severity vulnerability in Codex Editor.js, classified under Code Injection. CVSS score: 6.1/10. Published 2022-12-15.
- How severe is CVE-2022-23474?
- Medium severity. CVSS v3 base score is 6.1 out of 10.