1. Accueil
  2. Vulnérabilités
  3. CVE-2025-66021

CVE-2025-66021

OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization

Publiée le 26 nov. 2025 · modifiée le 3 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 33/100

Résumé

OWASP Java HTML Sanitizer is a configureable HTML Sanitizer written in Java, allowing inclusion of HTML authored by third-parties in web applications while protecting against XSS. Prior to 20260101.1, OWASP java html sanitizer is vulnerable to XSS if HtmlPolicyBuilder allows noscript and style tags with allowTextIn inside the style tag. This could lead to XSS if the payload is crafted in such a way that it does not sanitise the CSS and allows tags which is not mentioned in HTML policy. This vulnerability is fixed in 20260101.1.

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

Produits et versions affectés

Owasp (2 ligne(s))
Owasp
ProduitVersionsCorrigé dansSource
Java html sanitizer Versions non précisées — CNA (éditeur ou attributeur)
Java html sanitizer 20240325.1 — NVD
Maven (1 ligne(s))
Maven
ProduitVersionsCorrigé dansSource
com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer avant 20260101.1 (exclu) 20260101.1 GitHub Advisory

Correctif

Mise à jour — Maven/com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer 20260101.1source 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)
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)

Comment sont obtenues et calculées ces données