KaTeX is missing normalization of the protocol in URLs allows bypassing forbidden protocols
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| KaTeX | KaTeX | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Katex | Katex | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-0807 | 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. |
Github GHSA |
GHSA-3wc5-fcw2-2329 | KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocols |
Ubuntu USN |
USN-7572-1 | KaTeX vulnerabilities |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.406% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:katex:katex:*:*:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|