CVE-2022-23474
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| codex-team | editor.js | 2.26.0 | affected |
Weaknesses
- CWE-94: CWE-94: Improper Control of Generation of Code ('Code Injection')
ADP Enrichment
CVE Program Container
Additional References
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/
- https://github.com/codex-team/editor.js/pull/2100
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/
- https://github.com/codex-team/editor.js/pull/2100
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.