Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXg2bTYtNWhyZi1maDZy
Denial of Service in markdown-it-toc-and-anchor
All versions of markdown-it-toc-and-anchor
are vulnerable to Denial of Service. Parsing markdown containing **text**+\n@[toc]
causes the application to enter and infinite loop.
Recommendation
No fix is currently available. Consider using an alternative module until a fix is made available.
Permalink: https://github.com/advisories/GHSA-x6m6-5hrf-fh6rJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXg2bTYtNWhyZi1maDZy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 4 years ago
Updated: 9 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-x6m6-5hrf-fh6r
References:
- https://www.npmjs.com/advisories/749
- https://github.com/medfreeman/markdown-it-toc-and-anchor
- https://snyk.io/vuln/SNYK-JS-MARKDOWNITTOCANDANCHOR-73500
- https://github.com/advisories/GHSA-x6m6-5hrf-fh6r
Blast Radius: 25.3
Affected Packages
npm:markdown-it-toc-and-anchor
Dependent packages: 88Dependent repositories: 2,378
Downloads: 91,047 last month
Affected Version Ranges: < 4.2.0
Fixed in: 4.2.0
All affected versions: 1.0.0, 1.0.1, 2.0.0, 2.1.0, 3.0.0, 3.0.1, 3.1.0, 4.0.0, 4.1.0, 4.1.1, 4.1.2
All unaffected versions: 4.2.0