Vulnerability CVE-2022-23474


Published: 2022-12-15

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.

Type:

CWE-94

(Improper Control of Generation of Code ('Code Injection'))

 References:
https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/
https://github.com/codex-team/editor.js/pull/2100

Copyright 2026, cxsecurity.com

 

Back to Top