CVE-2021-32855
6.1medium
vditor vulnerable to Cross-site Scripting
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.60% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vfmp-9999-6wqj
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| npm vditor | from 3.8.7 before 3.8.7 | CVE List |
| vditor (npm) | before 3.8.7 | GitHub Advisory Database |
| b3log vditor | before 3.8.7 | NVD |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/ | exploit, third-party-advisory | |
| https://github.com/Vanessa219/vditor/issues/1085 | issue-tracking, third-party-advisory, web | |
| https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-32855 | advisory | |
| https://github.com/Vanessa219/vditor | package | |
| https://securitylab.github.com/advisories/GHSL-2021-1006-vditor | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32855 changed 2025-03-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vfmp-9999-6wqj changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-32855 changed 2026-06-17 | Public domain |