KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocols
- Severity:
- Medium
Description
Code that uses KaTeX’s trust option, specifically that provides a function to block-list certain URL protocols, can be fooled by URLs in malicious inputs that use uppercase characters in the protocol.
Recommendation
Update the katex package to the latest compatible version. Followings are version details:
- Affected version(s): >= 0.11.0, < 0.16.10
- Patched version(s): 0.16.10
References
Related Issues
- Parse Server's custom object ID allows to acquire role privileges - CVE-2024-47183
- happy-dom allows for server side code to be executed by a <script> tag - CVE-2024-51757
- secp256k1-node allows private key extraction over ECDH - CVE-2024-48930
- StudioCMS: REST API Missing Rank Check Allows Admin to Create Peer Admin Accounts - CVE-2026-32106
You might also like:
- Tags:
- npm
- katex
Anything's wrong? Let us know Last updated on March 25, 2024


