What’s Vulnerable › Vulnerabilities

CVE-2022-23474: editor.js contains Code Injection

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

How to fix

Upgrade to a fixed version: codex-team editor.js 2.26.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-23474 or the next vulnerability affects your stack