Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vditor
  4. ›
  5. CVE-2021-32855

CVE-2021-32855: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

February 21, 2023 (updated March 2, 2023)

Vditor is a browser-side Markdown editor. Versions prior to 3.8.7 is 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.

References

  • github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146
  • github.com/Vanessa219/vditor/issues/1085
  • github.com/advisories/GHSA-vfmp-9999-6wqj
  • nvd.nist.gov/vuln/detail/CVE-2021-32855
  • securitylab.github.com/advisories/GHSL-2021-1006-vditor/

Code Behaviors & Features

Detect and mitigate CVE-2021-32855 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.8.7

Fixed versions

  • 3.8.7

Solution

Upgrade to version 3.8.7 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/vditor/CVE-2021-32855.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:18 +0000.