CVE-2021-32855 json
vditor vulnerable to Cross-site Scripting
published 2023-02-20 3 y ago modified 2026-06-17 4 mo ago also GHSA-vfmp-9999-6wqj , EUVD-2023-0798
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
Summary
Vditor is a browser-side Markdown editor. Versions prior to 3.8.7 are vulnerable to copy-paste cross-site scripting (XSS). For this particular type of XSS, the victim needs to be fooled into copying a malicious payload into the text editor. Version 3.8.7 contains a patch for this issue.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | vditor | <3.8.7 |
3.8.7 |
Affected products
- npm vditor
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146
web, patch, third-party-advisory
-
securitylab.github.com
/advisories/GHSL-2021-1006-vditor/
exploit, third-party-advisory
-
github.com
/Vanessa219/vditor/issues/1085
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-32855
advisory
-
github.com
/Vanessa219/vditor
package
-
securitylab.github.com
/advisories/GHSL-2021-1006-vditor
advisory
Sources
- CVE List CVE-2021-32855
- GitHub Advisory GHSA-vfmp-9999-6wqj
- NVD CVE-2021-32855
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.