katex@0.16.19 vulnerabilities

Fast math typesetting for the web.

  • latest version

    0.16.21

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

    6 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the katex package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Improper Encoding or Escaping of Output

    katex is a Fast math typesetting for the web.

    Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output when rendering untrusted mathematical expressions with renderToString due to improper validation of attribute name argument in \htmlData. An attacker can include malicious input using \htmlData, which eventually could result in arbitrary JavaScript execution or generate invalid HTML.

    How to fix Improper Encoding or Escaping of Output?

    Upgrade katex to version 0.16.21 or higher.

    >=0.12.0 <0.16.21