CVE-2021-32855
JavaScript vulnerability analysis and mitigation

Overview

Vditor, a browser-side Markdown editor, was found to contain a copy-paste cross-site scripting (XSS) vulnerability in versions prior to 3.8.7. The vulnerability was discovered on September 15, 2021, and was assigned CVE-2021-32855. The issue was reported to the maintainers and was subsequently fixed on September 22, 2021 (GitHub Security Lab).

Technical details

The vulnerability was identified as a copy-paste cross-site scripting (XSS) issue in the Vditor text editor. The vulnerability is classified as CWE-79 (Cross-site Scripting). For successful exploitation, a victim needs to be tricked into copying a malicious payload into the text editor. The issue was discovered using CodeQL analysis (GitHub Security Lab).

Impact

The vulnerability could lead to cross-site scripting attacks when users interact with the affected text editor. The impact requires user interaction in the form of copying and pasting malicious content (GitHub Security Lab).

Mitigation and workarounds

The vulnerability was fixed in commit 1b2382d with the implementation of HTML sanitization. Users should upgrade to version 3.8.7 or later to receive the security fix (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22610HIGH8.5
  • JavaScriptJavaScript
  • angular.js
NoYesJan 10, 2026
CVE-2026-22595HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22594HIGH8.1
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22596MEDIUM6.7
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026
CVE-2026-22597LOW2
  • JavaScriptJavaScript
  • ghost
NoYesJan 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management