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—
ProductCodex Editor.js
PublishedDec 15, 2022
First seenDec 15, 2022

How to fix

Update
  • codex editor.js2.26.0 or later
  • @editorjs/editorjs2.26.0 or later

Affected products

ProductAffected versionsFixed in
codex editor.jsv < 2.26.02.26.0
@editorjs/editorjsnpmv < 2.26.02.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.