- Accueil
- Vulnérabilités
- CVE-2025-66021
CVE-2025-66021
OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization
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))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Java html sanitizer | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Java html sanitizer | 20240325.1 |
— | NVD |
Maven (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| 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
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-g9gq-3pfx-2gw2 — OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization 25 nov. 2025
Références
- https://github.com/OWASP/java-html-sanitizer/security/advisories/GHSA-g9gq-3pfx-2gw2WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66021ADVISORY
- https://github.com/OWASP/java-html-sanitizer/issues/363WEB
- https://github.com/OWASP/java-html-sanitizer/commit/4149cf02ba84db13e8e9d7ee1b01b3f47238e072WEB
- https://github.com/OWASP/java-html-sanitizer/commit/b98cdf1cd5e156a6259b01aa8cdc7372c6efde1eWEB
- https://github.com/OWASP/java-html-sanitizer/commit/d6e0463ed3b48777ecd187913ffdbe767508ff45WEB
- https://github.com/OWASP/java-html-sanitizerPACKAGE
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)