VulnerabilityModified
CVE-2022-23474
Versions prior to 2.26.0 are vulnerable to Code Injection via pasted input.
MEDIUM 6.1EPSS 0.53%
Does this matter?
Lower severity and a low EPSS score (0.53%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.53% probability · 43th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94, CWE-79
- Affected
- codex/editor.js
- Source
- security-advisories@github.com
References
- https://github.com/codex-team/editor.js/pull/2100Exploit, 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/2100Exploit, Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/Exploit, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.