Skip to content

CVE-2022-23474 editor.js contains Code Injection

MediumCVSS 6.1 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
editorjs @editorjs/editorjs(npm) < 2.26.0 2.26.0
codex-team editor.js = 2.26.0 No fix listed
codex editor.js < 2.26.0 2.26.0

References