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.
Recommendation
Update the @editorjs/editorjs package to the latest compatible version. Followings are version details:
- Affected version(s): < 2.26.0
- Patched version(s): 2.26.0
References
Could your website be exposed too?
SmartScanner can check your website for Editor.js vulnerable to Code Injection and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Eta vulnerable to Code Injection via templates rendered with user-defined data - CVE-2022-25967
- Joplin Vulnerable to Code Injection - CVE-2022-23340
- xmlhttprequest and xmlhttprequest-ssl vulnerable to Arbitrary Code Injection - xmlhttprequest - CVE-2020-28502
- cruddl vulnerable to ArangoDB Query Language (AQL) injection through flexSearch - CVE-2022-36084


