Skip to content
OpenAdvisories

Package · Debian

node-katex

6 known vulnerabilities.

6 results · Feed

  • Low 2.1

    KaTeX: Existing prototype pollution can bypass trust restrictions

    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 namespa…

  • Medium 6.3

    \htmlData does not validate attribute names in KaTeX

    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 in…

  • Medium 5.5

    KaTeX is missing normalization of the protocol in URLs allows bypassing forbidden protocols

    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 pr…

  • Medium 6.3

    KaTeX's \includegraphics does not escape filename

    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.1…

  • Medium 6.5

    KaTeX's maxExpand bypassed by Unicode sub/superscripts

    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 suc…

  • Medium 6.5

    KaTeX's maxExpand bypassed by \edef

    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 ca…