@editorjs/editorjs
Affected
- introduced
0, fixed2.26.0(semver)
Fixed versions
2.26.0
Fix
- Fixed version
2.26.0npm install @editorjs/[email protected]
Advisory
Also known as: CVE-2022-23474
Editor.js vulnerable to Code Injection
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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.26.0 (semver)2.26.0
2.26.0npm install @editorjs/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0