CVE-2022-23474
editor.js contains Code Injection
MEDIUM 5.3EPSS 0.6%
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.
- Affected
- codex-team · editor.js
- CVSS v4.0 GitHub
- 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS v3.1 NVD
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - EPSS
- 0.57% chance of exploitation in the next 30 days, 46th percentile
- Published
- 2022-12-15
- Updated
- 2025-04-17
Proof-of-concept exploits (1)
Security advisories
- codex-team/editor.js/pull/2100
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js
- advisories/GHSA-6mvj-2569-3mcm