GitHub Advisoryadvisory · npm

GHSA-5ff8-jcf9-fw62 Cross-Site Scripting in markdown-it-katex

HIGH Published 2020-09-04 Modified 2021-10-04 Official page ↗
Ecosystem
npm
Packages
markdown-it-katex
Severity
High
Weaknesses
CWE-79
Reviewed
2020-08-31

Affected packages

• npm markdown-it-katex: >= 0.0.0 (no fix yet)

Description

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.

Related

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References