- Accueil
- Vulnérabilités
- CVE-2026-41240
CVE-2026-41240
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions prior to 3.4.0…
Résumé
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions prior to 3.4.0 have an inconsistency between FORBID_TAGS and FORBID_ATTR handling when function-based ADD_TAGS is used. Commit c361baa added an early exit for FORBID_ATTR at line 1214. The same fix was not applied to FORBID_TAGS. At line 1118-1123, when EXTRA_ELEMENT_HANDLING.tagCheck returns true, the short-circuit evaluation skips the FORBID_TAGS check entirely. This allows forbidden elements to survive sanitization with their attributes intact. Version 3.4.0 patches the issue.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Cure53 (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Dompurify | avant 3.4.0 (exclu) |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1256)
Avis CERT-FR
- CERTFR-2026-AVI-1256 — Multiples vulnérabilités dans les produits IBM (02 octobre 2026) 2 oct. 2026
Références
- https://github.com/cure53/DOMPurify/commit/c361baa18dbdcb3344a41110f4c48ad85bf48f80Patch
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-h7mw-gpvr-xq4mExploit, Mitigation, Patch, Vendor Advisory
- https://github.com/cure53/DOMPurify/releases/tag/3.4.0Product, Release Notes
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- NVD
- Score CVSS
- NVD
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- 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-79 · Script intersite (XSS)