VYPR

Katex

by KaTeX

npm: katex

Source repositories

CVEs (6)

  • CVE-2024-28244MedMar 25, 2024
    risk 0.35cvss 6.5epss 0.02

    KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\def` or `\newcommand` that causes a near-infinite loop, despite setting `maxExpand` to avoid such loops. KaTeX…

  • CVE-2024-28243MedMar 25, 2024
    risk 0.35cvss 6.5epss 0.01

    KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\edef` that causes a near-infinite loop, despite setting `maxExpand` to avoid such loops. This can be used as an…

  • CVE-2025-23207MedJan 17, 2025
    risk 0.34cvss 6.3epss 0.00

    KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions with `renderToString` could encounter malicious input using `\htmlData` that runs arbitrary JavaScript, or generate invalid HTML. Users…

  • CVE-2024-28245MedMar 25, 2024
    risk 0.34cvss 6.3epss 0.00

    KaTeX is a JavaScript library for TeX math rendering on the web. KaTeX users who render untrusted mathematical expressions could encounter malicious input using `\includegraphics` that runs arbitrary JavaScript, or generate invalid HTML. Upgrade to KaTeX v0.16.10 to remove this…

  • CVE-2024-28246MedMar 25, 2024
    risk 0.29cvss 5.5epss 0.00

    KaTeX is a JavaScript library for TeX math rendering on the web. Code that uses KaTeX's `trust` option, specifically that provides a function to blacklist certain URL protocols, can be fooled by URLs in malicious inputs that use uppercase characters in the protocol. In…

  • CVE-2026-103923LowOct 1, 2026
    risk 0.07cvss —epss 0.00

    KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. From 0.11.0 until 0.18.2, KaTeX uses ordinary JavaScript property access for the renderer options object, the trust setting, default and processor setting metadata, and namespace lookup and group…