CVEvulnerability
CVE-2022-23474
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-12-15
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79, CWE-94
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 configurations
• codex editor.js (< 2.26.0)
Related
References
- https://github.com/codex-team/editor.js/pull/2100 Exploit, Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ Exploit, Patch, Third Party Advisory
- https://github.com/codex-team/editor.js/pull/2100 Exploit, Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ Exploit, Patch, Third Party Advisory