NetSight
medium6.1

CVE-2022-23474

Editor.js vulnerable to Code Injection

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npm@editorjs/editorjs< 2.26.02.26.0

Affected products

VendorProductAffected versions
CodexEditor.Js
before 2.26.0

Weakness classification

References