GitHub Advisoryadvisory · npm

GHSA-wfvx-fx73-3rfj markdown-it-toc Cross-site Scripting due to title of generated toc and contents of header not being escaped

MEDIUM Published 2022-07-26 Modified 2022-08-06 Official page ↗
Aliases
CVE-2020-28455
Ecosystem
npm
Packages
markdown-it-toc
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2022-08-06

Affected packages

• npm markdown-it-toc: <= 1.1.0 (no fix yet)

Description

This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.

Related

Alias · CVE (1)

  • CVE-2020-28455 This affects all versions of package markdown-it-toc. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References