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.
Remediation
References
https://github.com/Vanessa219/vditor/commit/1b2382d7f8a4ee509d9245db4450d926a0b24146
https://github.com/Vanessa219/vditor/issues/1085
https://securitylab.github.com/advisories/GHSL-2021-1006-vditor/
Related Vulnerabilities
CVE-2021-4264 Vulnerability in maven package org.webjars.bower:dustjs-linkedin
CVE-2021-21295 Vulnerability in maven package io.netty:netty-codec-http2
CVE-2021-23901 Vulnerability in maven package org.apache.nutch:nutch
CVE-2022-36036 Vulnerability in npm package mdx-mermaid
CVE-2020-28459 Vulnerability in npm package markdown-it-decorate