> CVE-2024-28246 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2024-03-25 20:15
MODIFIED
2025-09-02 16:36
CVSS_SCORE V3
5.5
EPSS (Prob. Exploit)
0.41%
Top 64.6%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-15 GITHUB 🔗 2026-11-04 OSV 🔗 2026-03-01

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

Katex - Katex
>= 0.11.0 < 0.16.10

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-3wc5-fcw2-2329 MODERATE

KaTeX missing normalization of the protocol in URLs allows bypassing forbidden protocols

AFFECTED PACKAGES:
NPM / katex
>= 0.11.0, < 0.16.10
Fixed in: 0.16.10

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

KaTeX is missing normalization of the protocol in URLs allows bypassing forbidden protocols

AFFECTED PACKAGES:
Unknown / Unknown
ALIASES:
GHSA-3wc5-fcw2-2329

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/03/2024 20:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:49
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME