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-2017-12795 Vulnerability in maven package org.openmrs.module:htmlformentry-omod
CVE-2018-1000067 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2021-27568 Vulnerability in maven package net.minidev:json-smart
CVE-2020-15138 Vulnerability in npm package prismjs
CVE-2020-35214 Vulnerability in maven package io.atomix:atomix