CVE-2022-23474: Editor.js is a block-style editor with clean JSON output
CVE-2022-23474 is a medium-severity flaw (CVSS 6.1) affecting editor.js. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-23474?
editor.js: upgrade to 2.26.0. Exact commands for each OS are on this page.
Is CVE-2022-23474 being exploited?
CVE-2022-23474 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-23474 affect?
CVE-2022-23474 affects editor.js. Severity is medium (CVSS 6.1). 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
How urgent is CVE-2022-23474?
Priority 38/100. Public exploit reference