Live threats

All CVEs / Markdown-it-toc Project

CVE-2020-28455Markdown-it-toc Project Markdown-it-toc

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 51
Auth required
No
Published
Jul 25, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Markdown-it-toc.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm markdown-it-toc ≤ 1.1.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-wfvx-fx73-3rfj). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
markdown-it-toc_projectmarkdown-it-tocall

Official sources

References

Links published by the sources. Open them with care.