1. Accueil
  2. Vulnérabilités
  3. CVE-2024-45801

CVE-2024-45801

Tampering by prototype polution in DOMPurify

Publiée le 16 sept. 2024 · modifiée le 27 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 42/100

Résumé

DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check. This renders dompurify unable to avoid cross site scripting (XSS) attacks. This issue has been addressed in versions 2.5.4 and 3.1.3 of DOMPurify. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Cure53 (3 ligne(s))
Cure53
ProduitVersionsCorrigé dansSource
Dompurify Versions non précisées — CNA (éditeur ou attributeur)
Dompurify avant 2.5.4 (exclu) — NVD
Dompurify de 3.0.0 (inclus) à 3.1.3 (exclu) — NVD
npm (2 ligne(s))
npm
ProduitVersionsCorrigé dansSource
dompurify avant 2.5.4 (exclu) 2.5.4 GitHub Advisory
dompurify de 3.0.0 (inclus) à 3.1.3 (exclu) 3.1.3 GitHub Advisory

Correctif

Mise à jour — npm/dompurify 2.5.4; npm/dompurify 3.1.3source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-1321 · Autre (CWE-1321)

Comment sont obtenues et calculées ces données