CVE-2022-23474
Medium
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.
SeverityMedium
CVSS6.1
Exploit probability—
Product
Codex Editor.js
PublishedDec 15, 2022
First seenDec 15, 2022
Weakness typeCWE-94Code injection
How to fix
Update
- codex editor.js2.26.0 or later
- @editorjs/editorjs2.26.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| codex editor.js | v < 2.26.0 | 2.26.0 |
| @editorjs/editorjsnpm | v < 2.26.0 | 2.26.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.