CVE-2020-28455
MEDIUM 6.1CVSS 3.1markdown-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.
- Published
- 25 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-wfvx-fx73-3rfj
- Sources
- NVDJSONOSV GHSA-wfvx-fx73-3rfjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | markdown-it-toc_project | markdown-it-toccpe:2.3:a:markdown-it-toc_project:markdown-it-toc:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | markdown-it-toc | <= 1.1.0 |
References
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNITTOC-1044067 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-28455 · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Jul 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jul 2022)