Description
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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| codex-team | editor.js | 2.26.0 |
References
- https://github.com/codex-team/editor.js/pull/2100Exploit, Patch, Third Party Advisory
- 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/2100Exploit, Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/Exploit, Patch, Third Party Advisory
Timeline
- Published
- Dec 15, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified