All reports
Medium

Editor.js vulnerable to Code Injection

Affected versions

Affected versions
< 2.26.0
Fixed version
2.26.0

Exploitation

CVE-2022-23474

Probability of exploitation in the next 30 days: 0.59%

FIRST EPSS · 2026-11-23

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.

Links