# CVE-2021-32855: vditor vulnerable to Cross-site Scripting

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-02-20 · Modified: 2025-03-10
- Aliases: GHSA-vfmp-9999-6wqj
- Record: https://cvemate.com/vulnerability/CVE-2021-32855 · JSON: https://cvemate.com/vulnerability/CVE-2021-32855/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.601%, percentile 50.221%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- b3log vditor: \< 3.8.7
- npm vditor (Npm): \< 3.8.7 \| ≥ 3.8.7, \< 3.8.7

## References

- <https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/>
- <https://github.com/Vanessa219/vditor/issues/1085>
- <https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32855>
- <https://github.com/Vanessa219/vditor>
- <https://securitylab.github.com/advisories/GHSL-2021-1006-vditor>

---

Data as of 2026-12-05T07:29:57.750Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
