NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2022-23474: Editor.js vulnerable to Code Injection

mediumCVSS 4.0 5.3 · 3.1 6.1GHSA-6mvj-2569-3mcm

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.

Published Aug 5, 2024

Affected packages

@editorjs/editorjs

Ecosystem
npm
Affected
< 2.26.0
Fixed in
2.26.0
Check
npm ls @editorjs/editorjs

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology