{"id":"CVE-2020-28459","aliases":["EUVD-2022-6409","GHSA-rhf5-2378-3w3w"],"status":"published","title":"Cross-site Scripting (XSS)","description":"This affects all versions of package markdown-it-decorate. An attacker can add an event handler or use javascript:xxx for the link.","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-19T14:16:06Z","modified":"2026-06-17T03:10:29Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"markdown-it-decorate","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.2.2"}]}]},{"source":"osv","ecosystem":"npm","package":"markdown-it-decorate","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.2.2"}]}]}],"products":[{"vendor":"markdown-it-decorate_project","product":"markdown-it-decorate"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-MARKDOWNITDECORATE-1044068","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28459","tags":["advisory"]},{"url":"https://github.com/rstacruz/markdown-it-decorate/commit/a6b33ce79e9b8cddf6184c754713e6af65253909","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rhf5-2378-3w3w"},{"url":"https://github.com/rstacruz/markdown-it-decorate","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-28459","title":"Cross-site Scripting (XSS)","description":"This affects all versions of package markdown-it-decorate. An attacker can add an event handler or use javascript:xxx for the link.","status":"published","published":"2022-07-25T14:05:43.371Z","modified":"2024-09-16T20:27:19.935Z","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-6409","description":"This affects all versions of package markdown-it-decorate. An attacker can add an event handler or use javascript:xxx for the link.","status":"published","published":"2022-07-25T14:05:43Z","modified":"2024-09-16T20:27:19Z","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:55:14.02226Z"}],"ghsa":[{"id":"GHSA-rhf5-2378-3w3w","title":"markdown-it-decorate vulnerable to cross-site scripting (XSS)","description":"markdown-it-decorate adds attributes, IDs and classes to Markdown, and the most recent version 1.2.2 was published in 2017. All versions are currently vulnerable to cross-site scripting (XSS) and there is no fixed version at this time","status":"published","published":"2022-07-19T14:16:06Z","modified":"2023-01-30T05:01:00Z","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:26.667347Z"}],"nvd":[{"id":"CVE-2020-28459","description":"This affects all versions of package markdown-it-decorate. An attacker can add an event handler or use javascript:xxx for the link.","status":"published","published":"2022-07-25T14:15:09.763Z","modified":"2026-06-17T03:10:29.463Z","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-rhf5-2378-3w3w","title":"markdown-it-decorate vulnerable to cross-site scripting (XSS)","description":"markdown-it-decorate adds attributes, IDs and classes to Markdown, and the most recent version 1.2.2 was published in 2017. All versions are currently vulnerable to cross-site scripting (XSS) and there is no fixed version at this time","status":"published","published":"2022-07-19T14:16:06Z","modified":"2023-11-08T04:03:27.139013Z","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:55.877614Z"}]}}
