{"id":"CVE-2020-28455","aliases":["EUVD-2022-6435","GHSA-wfvx-fx73-3rfj"],"status":"published","title":"Cross-site Scripting (XSS)","description":"This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:U/RC:C","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00614,"percentile":0.49723,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-07-25T14:10:37Z","modified":"2026-06-17T03:10:29Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"markdown-it-toc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"markdown-it-toc","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.1.0"}]}]}],"products":[{"vendor":"markdown-it-toc_project","product":"markdown-it-toc"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNITTOC-1044067","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28455","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wfvx-fx73-3rfj"}],"sources":{"cve":[{"id":"CVE-2020-28455","title":"Cross-site Scripting (XSS)","description":"This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.","status":"published","published":"2022-07-25T14:10:37.856Z","modified":"2024-09-16T23:01:17.912Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:U/RC:C","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:57.017407Z"}],"euvd":[{"id":"EUVD-2022-6435","description":"This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.","status":"published","published":"2022-07-25T14:10:37Z","modified":"2024-09-16T23:01:17Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:U/RC:C","level":"high"}],"updated_at":"2026-11-03T00:54:57.7565Z"}],"ghsa":[{"id":"GHSA-wfvx-fx73-3rfj","title":"markdown-it-toc Cross-site Scripting due to title of generated toc and contents of header not being escaped","description":"This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.","status":"published","published":"2022-07-26T00:01:05Z","modified":"2023-01-27T05:07:30Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:21.8171Z"}],"nvd":[{"id":"CVE-2020-28455","description":"This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.","status":"published","published":"2022-07-25T14:15:09.713Z","modified":"2026-06-17T03:10:29.03Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:46.951463Z"}],"osv":[{"id":"GHSA-wfvx-fx73-3rfj","title":"markdown-it-toc Cross-site Scripting due to title of generated toc and contents of header not being escaped","description":"This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.","status":"published","published":"2022-07-26T00:01:05Z","modified":"2023-11-08T04:03:27.019087Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:58.767335Z"}]}}
