editor.js contains Code Injection
Priority MEDIUM 60CWE-94Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution, Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94 and CWE-79.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00569 47th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed @editorjs/editorjs (npm): 2.26.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| codex-team | editor.js | 2.26.0 | — | No fix listed | CNA |
| — | @editorjs/editorjs (npm) | before 2.26.0 | 2.26.0 | Patch available | GHSA-6mvj-2569-3mcm |
- editor.js Vendorcodex-team Affected 2.26.0 Fixed in — No fix listed CNA
- @editorjs/editorjs (npm) Vendor— Affected before 2.26.0 Fixed in 2.26.0 Patch available GHSA-6mvj-2569-3mcm
Remediation
- Fix · GHSA-6mvj-2569-3mcm @editorjs/editorjs (npm) Fixed in 2.26.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23474
- 2026-10-03 Alias added: GHSA-6mvj-2569-3mcm
References
Exploit 2
Advisory 2
Sources
- CVE-2022-23474 · CVE Program
- CVE-2022-23474 · NVD
- FIRST EPSS
- GHSA-6mvj-2569-3mcm · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences