{"id":"GHSA-wfvx-fx73-3rfj","summary":"markdown-it-toc Cross-site Scripting due to title of generated toc and contents of header not being escaped","details":"This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.","aliases":["CVE-2020-28455"],"modified":"2023-11-08T04:03:27.019087Z","published":"2022-07-26T00:01:05Z","database_specific":{"nvd_published_at":"2022-07-25T14:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-08-06T09:35:55Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28455"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNITTOC-1044067"}],"affected":[{"package":{"name":"markdown-it-toc","ecosystem":"npm","purl":"pkg:npm/markdown-it-toc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-wfvx-fx73-3rfj/GHSA-wfvx-fx73-3rfj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}