vditor vulnerable to Cross-site Scripting
Priority MEDIUM 60CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00584 48th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed vditor (npm): 3.8.7
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| npm | vditor | 3.8.7 to before 3.8.7 | 3.8.7 | Patch available | CNA |
| — | vditor (npm) | before 3.8.7 | 3.8.7 | Patch available | GHSA-vfmp-9999-6wqj |
- vditor Vendornpm Affected 3.8.7 to before 3.8.7 Fixed in 3.8.7 Patch available CNA
- vditor (npm) Vendor— Affected before 3.8.7 Fixed in 3.8.7 Patch available GHSA-vfmp-9999-6wqj
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:b3log:vditor:*:*:*:*:*:*:*:* | before 3.8.7 | Vulnerable | siyuan-note |
- cpe:2.3:a:b3log:vditor:*:*:*:*:*:*:*:* Versions before 3.8.7 Vulnerable ·siyuan-note
Remediation
- Fix · CNA vditor (npm) Fixed in 3.8.7
- Fix · GHSA-vfmp-9999-6wqj vditor (npm) Fixed in 3.8.7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-32855
- 2026-10-03 Alias added: GHSA-vfmp-9999-6wqj
References
Advisory 3
More siyuan-note Vditor vulnerabilities
- TI-2024-22784 Vditor 3.10.3 allows XSS via an attribute of an A element. CVSS 3.1MEDIUM 6.1
- TI-2024-26189 vditor v.3.9.8 and before is vulnerable to Arbitrary file read via a crafted data packet. CVSS 3.1MEDIUM 5.9
- TI-2021-02982 Cross-site Scripting (XSS) - Stored in vanessa219/vditor CVSS 3.1MEDIUM 5.4
- TI-2022-00276 Cross-site Scripting (XSS) - Stored in vanessa219/vditor CVSS 3.1MEDIUM 5.4
- TI-2022-00267 Cross-site Scripting (XSS) - Stored in vanessa219/vditor CVSS 3.1MEDIUM 5.4
Sources
- CVE-2021-32855 · CVE Program
- CVE-2021-32855 · NVD
- FIRST EPSS
- GHSA-vfmp-9999-6wqj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences