CVE-2022-23461: Jodit Editor vulnerable to Cross-site Scripting
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.70638%
CWE
Published
9/25/2022
Updated
1/28/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
jodit | npm | <= 3.24.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests during HTML paste operations where specially crafted content bypasses sanitization. The PoC demonstrates that Microsoft Word-generated meta tags and <img> onerror handlers are not properly neutralized. This indicates two key points of failure: 1) The paste handling module's HTML processing logic (Paste.prototype.processHTML
) that accepts untrusted input, and 2) The core sanitization function (sanitizeHTML
) responsible for filtering dangerous elements. Both are explicitly referenced in security advisories as locations where custom sanitization was implemented but found insufficient. The maintainer's acknowledgment of incomplete patching further supports this assessment.