CVE-2024-28246 Affecting node-katex package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.06% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-NODEKATEX-6483757
  • published26 Mar 2024
  • disclosed25 Mar 2024

Introduced: 25 Mar 2024

CVE-2024-28246  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 node-katex.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-katex package and not the node-katex package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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 particular, this can allow for malicious input to generate javascript: links in the output, even if the trust function tries to forbid this protocol via trust: (context) => context.protocol !== 'javascript'. Upgrade to KaTeX v0.16.10 to remove this vulnerability.