Skip to content
OpenAdvisories
Medium · 6.1 CVE-2022-23474 EUVD-2024-2515GHSA-6mvj-2569-3mcm

editor.js contains Code Injection

Published Dec 15, 2022 · Updated Apr 17, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
codex-team editor.js 2.26.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @editorjs/editorjs < 2.26.0 2.26.0 GHSA-6mvj-2569-3mcm

References