Code Injection via Pasted Input in Editor.js (Versions prior to 2.26.0)

Code Injection via Pasted Input in Editor.js (Versions prior to 2.26.0)

CVE-2022-23474 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Learn more about our Web Application Penetration Testing UK.