CVE-2022-23474 editor.js contains Code Injection
MediumCVSS 6.1
EPSS 0.57%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| editorjs @editorjs/editorjs(npm) | < 2.26.0 | 2.26.0 |
| codex-team editor.js | = 2.26.0 | No fix listed |
| codex editor.js | < 2.26.0 | 2.26.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/codex-team/editor.js/pull/2100 exploit patch third-party-advisory
- github.com patch
- securitylab.github.com
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ exploit patch third-party-advisory vendor-advisory
- github.com
- github.com product