Multiple (unprefixed) classnames could be added in markdown source by using character references.
This could make rendered user supplied markdown code elements appear like the rest of the page.
The following markdown:
```js xss
```
Would create <pre><code class="language-js xss"></code></pre>
If your page then applied .xss classes (or listeners in JS), those apply to this element.
For more info see https://github.com/ChALkeR/notes/blob/master/Improper-markup-sanitization.md#unsanitized-class-attribute
The bug was patched. When using regular semver, run npm install. For exact ranges, make sure to use 13.2.1.
Update.
{
"cwe_ids": [
"CWE-20",
"CWE-915"
],
"severity": "MODERATE",
"github_reviewed_at": "2025-12-02T01:25:46Z",
"nvd_published_at": "2025-12-01T23:15:53Z",
"github_reviewed": true
}