← Übersicht Red Hat Enterprise Linux, Jenkins (inkl. Plugins)

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

CVE-2025-66021 · GHSA-g9gq-3pfx-2gw2

Hoch · CVSS 8.6 Red Hat: Important Netzwerk · ohne Login · Nutzerinteraktion Kein Fix bekannt

Veröffentlicht
25.11.2025 23:10
Zuletzt geändert
10.09.2026
EPSS (30 Tage)
0.3 %
CVSS-Vektor
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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. In version 20240325.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. At time of publication no known patch is available.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 3 betroffen, 2 nicht betroffen.

Logging Subsystem for Red Hat OpenShift Betroffenwird nicht behoben owasp-java-html-sanitizer
OpenShift Developer Tools and Services BetroffenFix ausstehend jenkins, jenkins-2-plugins
Red Hat Single Sign-On 7 Betroffenwird nicht behoben owasp-java-html-sanitizer
Nicht betroffen (2)
Red Hat JBoss Enterprise Application Platform 8Nicht betroffenverwundbarer Code nicht enthaltenowasp-java-html-sanitizer
Red Hat JBoss Enterprise Application Platform Expansion PackNicht betroffenverwundbarer Code nicht enthaltenowasp-java-html-sanitizer

Betroffene Pakete im beobachteten Stack

Red Hat:ocp_toolsjenkinskein Fix bekanntCVE-2025-66021
Red Hat:ocp_toolsjenkins-2-pluginskein Fix bekanntCVE-2025-66021
Weitere betroffene Pakete (3)
CVEOWASP/java-html-sanitizerkein Fix bekanntCVE-2025-66021
Mavencom.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer20240325.1 → 20260101.1GHSA-g9gq-3pfx-2gw2
NVDowasp:java_html_sanitizerkein Fix bekanntCVE-2025-66021

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.