{"id":"CVE-2021-32855","aliases":["CVE-2021-32855","GHSA-vfmp-9999-6wqj"],"related":[],"kind":"vulnerability","state":"published","title":"vditor vulnerable to Cross-site Scripting","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2023-02-20T00:00:00.000Z","modified":"2026-06-17T03:53:46.050Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"3.8.7","fixed":"3.8.7","status":"affected"}],"vendor":"npm","product":"vditor","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.8.7"}],"ecosystem":"npm","package":"vditor","purl":"pkg:npm/vditor","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.8.7"}],"vendor":"b3log","product":"vditor","cpe":"cpe:2.3:a:b3log:vditor:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Vanessa219/vditor/issues/1085","tags":["issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32855","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Vanessa219/vditor","tags":["package"],"sources":["ghsa"]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-10T21:00:23.830Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32855","url":"https://www.cve.org/CVERecord?id=CVE-2021-32855","licence":"CVE Terms of Use","modified":"2025-03-10T21:08:46.394Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vfmp-9999-6wqj","url":"https://github.com/advisories/GHSA-vfmp-9999-6wqj","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:02.540Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32855","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32855","licence":"Public domain","modified":"2026-06-17T03:53:46.050Z"}],"updatedAt":"2026-11-25T22:58:08.232Z","epss":{"score":0.00601,"percentile":0.50133,"date":"2026-12-01T12:00:22.000Z"}}