medium6.1
CVE-2021-32855
Vditor Cross-site Scripting vulnerability
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | vditor | < 3.8.7 | 3.8.7 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| B3log | Vditor | before 3.8.7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146
- https://github.com/Vanessa219/vditor/issues/1085
- https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/
- https://github.com/advisories/GHSA-vfmp-9999-6wqj
- https://nvd.nist.gov/vuln/detail/CVE-2021-32855