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
Related Issues
- Joplin Vulnerable to Code Injection - CVE-2022-23340
- Eta vulnerable to Code Injection via templates rendered with user-defined data - CVE-2022-25967
- cruddl vulnerable to ArangoDB Query Language (AQL) injection through flexSearch - CVE-2022-36084
- lodash vulnerable to Code Injection via `_.template` imports key names - CVE-2026-4800
You might also like:
- Tags:
- npm
- @editorjs/editorjs
Anything's wrong? Let us know Last updated on August 05, 2024


