This affects all versions of package markdown-it-toc. The title of the generated toc and the contents of the header are not escaped.
{
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2022-08-06T09:35:55Z",
"nvd_published_at": "2022-07-25T14:15:00Z",
"severity": "MODERATE"
}