{"id":"CVE-2021-32855","aliases":["EUVD-2023-0798","GHSA-vfmp-9999-6wqj"],"status":"published","title":"vditor vulnerable to Cross-site Scripting","description":"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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00584,"percentile":0.48377,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-02-20T00:00:00Z","modified":"2026-10-20T10:53:47Z","fixes":[{"ecosystem":"npm","package":"vditor","fixed_in":["3.8.7"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"vditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.7"}]}]},{"source":"osv","ecosystem":"npm","package":"vditor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.8.7"}]}]}],"products":[{"vendor":"b3log","product":"vditor"},{"vendor":"npm","product":"vditor"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/","tags":["x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://github.com/Vanessa219/vditor/issues/1085","tags":["x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32855","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vfmp-9999-6wqj"},{"url":"https://github.com/Vanessa219/vditor","tags":["package"]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-32855","title":"vditor vulnerable to Cross-site Scripting","description":"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.","status":"published","published":"2023-02-20T00:00:00Z","modified":"2025-03-10T21:08:46.394Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:07.014772Z"}],"euvd":[{"id":"EUVD-2023-0798","description":"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.","status":"published","published":"2023-02-20T00:00:00Z","modified":"2025-03-10T21:08:46Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T20:53:09.197707Z"}],"ghsa":[{"id":"GHSA-vfmp-9999-6wqj","title":"Vditor Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2023-02-21T15:30:23Z","modified":"2023-02-22T00:10:53Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:45.67005Z"}],"nvd":[{"id":"CVE-2021-32855","description":"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.","status":"published","published":"2023-02-21T15:15:11.267Z","modified":"2026-06-17T03:53:46.05Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:07.323379Z"}],"osv":[{"id":"CVE-2021-32855","description":"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.","status":"published","published":"2023-02-21T15:15:11.267Z","modified":"2026-10-20T10:53:47.925021475Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"GHSA-vfmp-9999-6wqj","title":"Vditor Cross-site Scripting vulnerability","description":"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.","status":"published","published":"2023-02-21T15:30:23Z","modified":"2023-11-08T04:06:02.540276Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:57.348035Z"}]}}
