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-2022-0528 Vulnerability in npm package @uppy/companion
CVE-2020-28500 Vulnerability in maven package org.webjars.bowergithub.lodash:lodash
CVE-2018-1999002 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2019-16147 Vulnerability in maven package com.liferay:com.liferay.journal.taglib
CVE-2018-20801 Vulnerability in maven package org.webjars:highcharts