CVE-2024-28246
KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocols
5.5
MEDIUM
CVSS 3.1
EPSS 0.41%
描述
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.
如何修補 CVE-2024-28246
要修補 CVE-2024-28246,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —升級至 0.16.10 或更新版本
CVE-2024-28246 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0
- >= 0.11.0, < 0.16.10
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |