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-2018-3718 Vulnerability in npm package serve
CVE-2021-23353 Vulnerability in maven package org.webjars:jspdf
CVE-2017-2599 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2021-41193 Vulnerability in maven package com.wire:avs
CVE-2023-40037 Vulnerability in maven package org.apache.nifi:nifi-dbcp-base