> CVE-2026-25543 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2026-02-04 22:16
MODIFIED
2026-02-04 22:16
CVSS_SCORE V3
6.3
EPSS (Prob. Exploit)
0.40%
Top 66.9%
DATA SOURCES:
NVD đź”— 2026-02-04 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-10-25 GITHUB đź”— 2026-11-04 OSV đź”— 2026-07-26

> DESCRIPTION

HtmlSanitizer is a .NET library for cleaning HTML fragments and documents from constructs that can lead to XSS attacks. Prior to versions 9.0.892 and 9.1.893-beta, if the template tag is allowed, its contents are not sanitized. The template tag is a special tag that does not usually render its contents, unless the shadowrootmode attribute is set to open or closed. This issue has been patched in versions 9.0.892 and 9.1.893-beta.

> 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:P/PR:N/UI:N/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:P/PR:N/UI:N/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
None (N)
Aucune interaction utilisateur nécessaire
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-116

> CWE DETAILED DESCRIPTIONS

CWE-116: Improper Encoding or Escaping of Output - The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.

> GITHUB SECURITY ADVISORY

GHSA-j92c-7v7g-gj3f MODERATE

HtmlSanitizer has a bypass via template tag

AFFECTED PACKAGES:
NUGET / HtmlSanitizer
>= 9.1.878-beta, < 9.1.893-beta
Fixed in: 9.1.893-beta
NUGET / HtmlSanitizer
< 9.0.892
Fixed in: 9.0.892

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

HtmlSanitizer has a bypass via template tag

AFFECTED PACKAGES:
Unknown / Unknown
149 versions affected
ALIASES:
GHSA-j92c-7v7g-gj3f

> HISTORIQUE DES MODIFICATIONS

Première apparition
04/02/2026 22:16
Source: NVD
📊 ENRICHISSEMENT 01/03/2026 06:46
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-116: Improper Encoding or Escaping of Output - The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done in...
Total des modifications: 1 Dernière mise à jour: 8 months ago

> REFERENCES

https://github.com/mganss/HtmlSanitizer/commit/0ac53dca30ddad963f2b243669a506693...
https://github.com/mganss/HtmlSanitizer/security/advisories/GHSA-j92c-7v7g-gj3f
https://www.nuget.org/packages/HtmlSanitizer/9.0.892
https://www.nuget.org/packages/HtmlSanitizer/9.1.893-beta
« BACK_TO_HOME