{"api_version":"1","generated_at":"2026-04-22T21:17:23+00:00","cve":"CVE-2021-32855","urls":{"html":"https://cve.report/CVE-2021-32855","api":"https://cve.report/api/cve/CVE-2021-32855.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32855","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32855"},"summary":{"title":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-02-21 15:15:00","updated_at":"2023-03-02 16:19:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/","name":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/","refsource":"CONFIRM","tags":[],"title":"GHSL-2021-1006: Copy-paste XSS in vditor text editor - CVE-2021-32855 | GitHub Security Lab","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/Vanessa219/vditor/issues/1085","name":"https://github.com/Vanessa219/vditor/issues/1085","refsource":"MISC","tags":[],"title":"XSS 漏洞修复 · Issue #1085 · Vanessa219/vditor · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146","name":"https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146","refsource":"CONFIRM","tags":[],"title":":lock: https://github.com/Vanessa219/vditor/issues/1085 · Vanessa219/vditor@1b2382d · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32855","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32855","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"32855","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"b3log","cpe5":"vditor","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-32855","STATE":"PUBLIC","TITLE":"vditor vulnerable to Cross-site Scripting"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"vditor","version":{"version_data":[{"version_affected":"<","version_name":"3.8.7","version_value":"3.8.7"}]}}]},"vendor_name":"npm"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/","refsource":"CONFIRM","url":"https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/"},{"name":"https://github.com/Vanessa219/vditor/issues/1085","refsource":"MISC","url":"https://github.com/Vanessa219/vditor/issues/1085"},{"name":"https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146","refsource":"CONFIRM","url":"https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146"}]},"source":{"advisory":"GHSL-2021-1006","defect":["GHSL-2021-1006"],"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2023-02-21 15:15:00","lastModifiedDate":"2023-03-02 16:19:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:b3log:vditor:*:*:*:*:*:*:*:*","versionEndExcluding":"3.8.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"32855","Ordinal":"208243","Title":"CVE-2021-32855","CVE":"CVE-2021-32855","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"32855","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}