CVE-2022-23474
MEDIUMCVSS 6.1/10EPSS 0.53%
Last modified
CVE-2022-23474 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Codex | Editor.Js | < 2.26.0 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-23474?
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.
How severe is CVE-2022-23474?
CVE-2022-23474 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 0.53% probability of exploitation in the next 30 days.
How do I fix CVE-2022-23474?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2022-23474?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
