GHSA-wfvx-fx73-3rfj

Suggest an improvement
Source
https://github.com/advisories/GHSA-wfvx-fx73-3rfj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-wfvx-fx73-3rfj/GHSA-wfvx-fx73-3rfj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wfvx-fx73-3rfj
Aliases
  • CVE-2020-28455
Published
2022-07-26T00:01:05Z
Modified
2023-11-08T04:03:27.019087Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-07-25T14:15:00Z",
    "github_reviewed_at": "2022-08-06T09:35:55Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE"
}
References

Affected packages

npm / markdown-it-toc

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.1.0