Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS13ZnZ4LWZ4NzMtM3Jmas4AAtob
markdown-it-toc Cross-site Scripting due to title of generated toc and contents of header not being escaped
This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.
Permalink: https://github.com/advisories/GHSA-wfvx-fx73-3rfjJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13ZnZ4LWZ4NzMtM3Jmas4AAtob
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: over 1 year ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Identifiers: GHSA-wfvx-fx73-3rfj, CVE-2020-28455
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-28455
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNITTOC-1044067
- https://github.com/advisories/GHSA-wfvx-fx73-3rfj
Affected Packages
npm:markdown-it-toc
Dependent packages: 108Dependent repositories: 357
Downloads: 9,701 last month
Affected Version Ranges: <= 1.1.0
No known fixed version
All affected versions: 1.0.2, 1.0.3, 1.0.4, 1.1.0