Security mailing lists by PureSourceCode

CVE-2020-28455

MEDIUM 6.1CVSS 3.1

markdown-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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD markdown-it-toc_project markdown-it-toc
cpe:2.3:a:markdown-it-toc_project:markdown-it-toc:*:*:*:*:*:node.js:*:*
all versions
OSV npm markdown-it-toc <= 1.1.0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.