{"id":"CVE-2021-32855","published":"2023-02-20T00:00:00Z","modified":"2025-03-10T21:08:46Z","title":"vditor vulnerable to Cross-site Scripting","vendor":"npm","product":"vditor","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00584,"percentile":0.41879,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/","tags":[]},{"url":"https://github.com/Vanessa219/vditor/issues/1085","tags":[]},{"url":"https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146","tags":[]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":8.38},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"npm","affectedVersions":[{"vendor":"npm","product":"vditor","versions":[">= 3.8.7, < 3.8.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-10T21:00:23.830100Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vditor","vulnerableRanges":["<3.8.7"],"patched":["3.8.7"],"from":["GHSA-vfmp-9999-6wqj"],"provenance":"source"}],"summary":{"text":"Vditor, a browser-side Markdown editor distributed via npm, contains a cross-site scripting flaw in its copy-paste handling in versions prior to 3.8.7. An attacker can run script in the context of the affected page, but only if a user is tricked into copying a malicious payload into the editor, so exploitation requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:08Z"},"euvd":{"id":"EUVD-2023-0798","exploited":false,"provenance":"source"}}