GHSA-5ff8-jcf9-fw62
HIGHCross-Site Scripting in markdown-it-katex
All versions of markdown-it-katex are vulnerable to Cross-Site Scripting (XSS). The package fails to properly escape error messages, which may allow attackers to execute arbitrary JavaScript in a victim's browser by triggering an error.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | markdown-it-katex | >= 0.0.0 |
References
- https://github.com/waylonflinn/markdown-it-katex/issues/26 · WEB
- https://github.com/waylonflinn/markdown-it-katex · PACKAGE
- https://www.npmjs.com/advisories/1466 · WEB
History
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Sep 2020)