> CVE-2026-65903 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-07-23 14:18
MODIFIED
2026-07-23 14:18
CVSS_SCORE V3
5.1
EPSS (Prob. Exploit)
0.33%
Top 75.6%
DATA SOURCES:
NVD đź”— 2026-07-23 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-10-29 OSV đź”— 2026-07-30

> DESCRIPTION

DOMPurify before 3.4.0 contains a logic error in the ADD_TAGS function where short-circuit evaluation allows forbidden tags to bypass FORBID_TAGS restrictions. Attackers can craft input containing tags listed in FORBID_TAGS that are also added via ADD_TAGS function, causing them to be retained in sanitized output.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
None (N)
Aucune authentification requise
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
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-697

> CWE DETAILED DESCRIPTIONS

CWE-697: Incorrect Comparison - The product compares two entities in a security-relevant context, but the comparison is incorrect.

> GITHUB SECURITY ADVISORY

GHSA-39q2-94rc-95cp MODERATE

DOMPurify's ADD_TAGS function form bypasses FORBID_TAGS due to short-circuit evaluation

AFFECTED PACKAGES:
NPM / dompurify
<= 3.3.3
Fixed in: 3.4.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

DOMPurify before 3.4.0 ADD_TAGS Function Bypasses FORBID_TAGS

AFFECTED PACKAGES:
Unknown / Unknown
90 versions affected
ALIASES:
GHSA-39q2-94rc-95cp

> HISTORIQUE DES MODIFICATIONS

Première apparition
23/07/2026 14:18
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-697: Incorrect Comparison - The product compares two entities in a security-relevant context, but the comparison is incorrect.
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/cure53/DOMPurify/security/advisories/GHSA-39q2-94rc-95cp
https://www.vulncheck.com/advisories/dompurify-before-add-tags-function-bypasses...
« BACK_TO_HOME