CVE-2022-2932: Cross site scripting in mobiledoc-kit
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.59368%
CWE
Published
8/23/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 |
|---|---|---|---|
| mobiledoc-kit | npm | < 0.14.2 | 0.14.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key evidence is the dependency upgrade from mobiledoc-dom-renderer@0.7.1 to 0.7.2 in the patch. Since the CVE describes a reflected XSS vulnerability and mobiledoc-dom-renderer handles raw HTML rendering, the vulnerability likely existed in its DOM construction logic. The patch specifically updates this critical dependency without modifying mobiledoc-kit's own codebase, indicating the vulnerability resided in the renderer's handling of untrusted input during HTML element creation.