CVE-2020-28455
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (CVE-2020-28455) affects all versions of the markdown-it-toc package, a plugin for the markdown-it markdown parser. The vulnerability was disclosed on November 24, 2020, and published on December 15, 2020. This security issue involves improper neutralization of input during web page generation, specifically in the table of contents generation functionality (Snyk Advisory).

Technical details

The vulnerability is classified as a Cross-site Scripting (XSS) issue, where the title of the generated table of contents and the contents of the header are not properly escaped. The CVSS v3.1 base score is rated as 6.1 MEDIUM by NVD and 7.3 HIGH by Snyk, with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. The vulnerability is tracked under CWE-79 (Improper Neutralization of Input During Web Page Generation) (NVD, Snyk Advisory).

Impact

When exploited, this vulnerability can lead to Cross-site Scripting attacks, potentially allowing attackers to execute malicious scripts in the context of the user's browser. This can result in the theft of user session data, cookie theft, and potential exposure of sensitive information (Snyk Advisory).

Mitigation and workarounds

There is no fixed version available for the markdown-it-toc package. Users should consider implementing additional input validation and output encoding mechanisms, or consider using alternative packages with proper security implementations (Snyk Advisory).

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-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

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