Live threats

All CVEs / B3log

CVE-2021-32855B3log Vditor

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 42
Auth required
No
Published
Feb 21, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vditor.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm vditor < 3.8.7 3.8.7 npm install vditor@3.8.7

Per OSV / GitHub Advisories (GHSA-vfmp-9999-6wqj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
b3logvditor< 3.8.7

Official sources

References

Links published by the sources. Open them with care.