Skip to content
OpenAdvisories
High GHSA-5ff8-jcf9-fw62

Cross-Site Scripting in markdown-it-katex

Published Sep 4, 2020 · Updated Oct 4, 2021 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm markdown-it-katex >= 0.0.0 — GHSA-5ff8-jcf9-fw62

References