CVE-2020-28459
MEDIUM 6.1CVSS 3.1markdown-it-decorate vulnerable to cross-site scripting (XSS)
This affects all versions of package markdown-it-decorate. An attacker can add an event handler or use javascript:xxx for the link.
- Published
- 25 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-rhf5-2378-3w3w
- Sources
- NVDJSONOSV GHSA-rhf5-2378-3w3wJSON
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-decorate_project | markdown-it-decoratecpe:2.3:a:markdown-it-decorate_project:markdown-it-decorate:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | markdown-it-decorate | <= 1.2.2 |
References
- https://security.snyk.io/vuln/SNYK-JS-MARKDOWNITDECORATE-1044068 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-28459 · ADVISORY
- https://github.com/rstacruz/markdown-it-decorate/commit/a6b33ce79e9b8cddf6184c754713e6af65253909 · WEB
- https://github.com/rstacruz/markdown-it-decorate · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Jul 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Jul 2022)