GHSA-3wc5-fcw2-2329 · Severity: medium · Ecosystem: npm — KaTeX 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 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.
Conclusion & alert: CVE-2024-28246 is rated Low Risk (28/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.06%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.23% | 0.06% | -0.18% |
| 2 | 2025-11-18 | 0.06% | 0.23% | +0.17% |
| 3 | 2025-08-14 | — | 0.06% | — |
Full EPSS history (12 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.5 | 3.1 | MEDIUM |
|
2.1 | 3.4 | [email protected] |
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | [email protected] |
GHSA-3wc5-fcw2-2329 · Severity: medium · Ecosystem: npm — KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocols
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2024-28246 not yet assigned priority: Debian including 1 source packages (node-katex), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 3, open 2. | https://security-tracker.debian.org/tracker/CVE-2024-28246 |
ubuntu
|
medium | CVE-2024-28246 medium priority: Ubuntu including 1 source packages (node-katex), 9 status rows across 9 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, upstream): not-affected 6, released 2, ignored 1. | https://ubuntu.com/security/CVE-2024-28246 |
| URL | Tags |
|---|---|
| https://github.com/KaTeX/KaTeX/commit/fc5af64183a3ceb9be9d1c23a275999a728593de | Patch |
| https://github.com/KaTeX/KaTeX/security/advisories/GHSA-3wc5-fcw2-2329 | Mitigation Third Party Advisory |