Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Codex | Editor.Js | < 2.26.0 |
Related Weaknesses (CWE)
References
- https://github.com/codex-team/editor.js/pull/2100ExploitPatchThird Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ExploitPatchThird Party Advisory
- https://github.com/codex-team/editor.js/pull/2100ExploitPatchThird Party Advisory
- https://securitylab.github.com/advisories/GHSL-2022-028_codex-team_editor_js/ExploitPatchThird Party Advisory
FAQ
What is CVE-2022-23474?
CVE-2022-23474 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 innerHTM...
How severe is CVE-2022-23474?
CVE-2022-23474 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-23474?
Check the references section above for vendor advisories and patch information. Affected products include: Codex Editor.Js.