Vulnerability library
Security checkAugust 05, 2024

Editor.js vulnerable to Code Injection

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@editorjs/editorjs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 scan

Related Issues

See something that needs correcting? Let us knowUpdated August 05, 2024