cve-2025-66021
HIGH CVSS 7.1 csaf_redhat
Description
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.
Timeline
- Published
- 2025-11-26 01:53 UTC
- Last Modified
- 2026-06-28
CVSS Details
CVSS details not available.
Affected Products
No product information available.
Weaknesses (CWE)
References
No references available.
Linked Vulnerabilities
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Important"
},
"category": "csaf_vex",
"csaf_version": "2.0",
"distribution": {
"text": "Copyright © Red Hat, Inc. All rights reserved.",
"tlp": {
"label": "WHITE",
"url": "https://www.first.org/tlp/"
}
},
"lang": "en",
"notes": [
{
"category": "legal_disclaimer",
"text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
"title": "Terms of Use"
}
],
"publisher": {
"category": "vendor",
"contact_details": "https://access.redhat.com/security/team/contact/",
"issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
"name": "Red Hat Product Security",
"namespace": "https://www.redhat.com"
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-66021.json"
}
],
"title": "com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer: OWASP Java HTML Sanitizer vulnerable to XSS",
"tracking": {
"current_release_date": "2026-06-28T07:08:21+00:00",
"generator": {
"date": "2026-06-28T07:08:21+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "5.2.6"
}
},
"id": "CVE-2025-66021",
"initial_release_date": "2025-11-26T01:53:37.578000+00:00",
"revision_history": [
{
"date": "2025-11-26T01:53:37.578000+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2026-04-29T04:26:44+00:00",
"number": "2",
"summary": "Current version"
},
{
"date": "2026-06-28T07:08:21+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Logging Subsystem for Red Hat OpenShift",
"product": {
"name": "Logging Subsystem for Red Hat OpenShift",
"product_id": "logging_subsystem_for_red_hat_openshift",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:logging:5"
}
}
}
],
"category": "product_family",
"name": "Logging Subsystem for Red Hat OpenShift"
},
{
"branches": [
{
"category": "product_name",
"name": "OpenShift Developer Tools and Services",
"product": {
"name": "OpenShift Developer Tools and Services",
"product_id": "openshift_developer_tools_and_services",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:ocp_tools"
}
}
}
],
"category": "product_family",
"name": "OpenShift Developer Tools and Services"
},
{
"branches": [
{
"category": "product_name",
"name": "Red Hat JBoss Enterprise Application Platform 8",
"product": {
"name": "Red Hat JBoss Enterprise Application Platform 8",
"product_id": "red_hat_jboss_enterprise_application_platform_8",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:jboss_enterprise_application_platform:8"
}
}
}
],
"category": "product_family",
"name": "Red Hat JBoss Enterprise Application Platform 8"
},
{
"branches": [
{
"category": "product_name",
"name": "Red Hat JBoss Enterprise Application Platform Expansion Pack",
"product": {
"name": "Red Hat JBoss Enterprise Application Platform Expansion Pack",
"product_id": "red_hat_jboss_enterprise_application_platform_expansion_pack",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:jbosseapxp"
}
}
}
],
"category": "product_family",
"name": "Red Hat JBoss Enterprise Application Platform Expansion Pack"
},
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Single Sign-On 7",
"product": {
"name": "Red Hat Single Sign-On 7",
"product_id": "red_hat_single_sign-on_7",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:red_hat_single_sign_on:7"
}
}
}
],
"category": "product_family",
"name": "Red Hat Single Sign-On 7"
},
{
"category": "product_version",
"name": "owasp-java-html-sanitizer",
"product": {
"name": "owasp-java-html-sanitizer",
"product_id": "owasp-java-html-sanitizer",
"product_identification_helper": {
"purl": "pkg:maven/com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer"
}
}
},
{
"category": "product_version",
"name": "jenkins.src",
"product": {
"name": "jenkins.src",
"product_id": "jenkins.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/jenkins?arch=src"
}
}
},
{
"category": "product_version",
"name": "jenkins-2-plugins.src",
"product": {
"name": "jenkins-2-plugins.src",
"product_id": "jenkins-2-plugins.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/jenkins-2-plugins?arch=src"
}
}
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "owasp-java-html-sanitizer as a component of Logging Subsystem for Red Hat OpenShift",
"product_id": "logging_subsystem_for_red_hat_openshift:owasp-java-html-sanitizer"
},
"product_reference": "owasp-java-html-sanitizer",
"relates_to_product_reference": "logging_subsystem_for_red_hat_openshift"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "jenkins-2-plugins.src as a component of OpenShift Developer Tools and Services",
"product_id": "openshift_developer_tools_and_services:jenkins-2-plugins.src"
},
"product_reference": "jenkins-2-plugins.src",
"relates_to_product_reference": "openshift_developer_tools_and_services"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "jenkins.src as a component of OpenShift Developer Tools and Services",
"product_id": "openshift_developer_tools_and_services:jenkins.src"
},
"product_reference": "jenkins.src",
"relates_to_product_reference": "openshift_developer_tools_and_services"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "owasp-java-html-sanitizer as a component of Red Hat JBoss Enterprise Application Platform 8",
"product_id": "red_hat_jboss_enterprise_application_platform_8:owasp-java-html-sanitizer"
},
"product_reference": "owasp-java-html-sanitizer",
"relates_to_product_reference": "red_hat_jboss_enterprise_application_platform_8"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "owasp-java-html-sanitizer as a component of Red Hat JBoss Enterprise Application Platform Expansion Pack",
"product_id": "red_hat_jboss_enterprise_application_platform_expansion_pack:owasp-java-html-sanitizer"
},
"product_reference": "owasp-java-html-sanitizer",
"relates_to_product_reference": "red_hat_jboss_enterprise_application_platform_expansion_pack"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "owasp-java-html-sanitizer as a component of Red Hat Single Sign-On 7",
"product_id": "red_hat_single_sign-on_7:owasp-java-html-sanitizer"
},
"product_reference": "owasp-java-html-sanitizer",
"relates_to_product_reference": "red_hat_single_sign-on_7"
}
]
},
"vulnerabilities": [
{
"cve": "CVE-2025-66021",
"cwe": {
"id": "CWE-79",
"name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
},
"discovery_date": "2025-11-26T02:01:06.679413+00:00",
"flags": [
{
"label": "vulnerable_code_not_present",
"product_ids": [
"red_hat_jboss_enterprise_application_platform_8:owasp-java-html-sanitizer",
"red_hat_jboss_enterprise_application_platform_expansion_pack:owasp-java-html-sanitizer"
]
}
],
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "2417190"
}
],
"notes": [
{
"category": "description",
"text": "A cross site scripting flaw has been discovered in the OWASP Java HTML Sanitizer. 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 may allow an attacker to execute javascript in the context of a user's browser.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer: OWASP Java HTML Sanitizer vulnerable to XSS",
"title": "Vulnerability summary"
},
{
"category": "general",
"text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
"title": "CVSS score applicability"
}
],
"product_status": {
"known_affected": [
"logging_subsystem_for_red_hat_openshift:owasp-java-html-sanitizer",
"openshift_developer_tools_and_services:jenkins-2-plugins.src",
"openshift_developer_tools_and_services:jenkins.src",
"red_hat_single_sign-on_7:owasp-java-html-sanitizer"
],
"known_not_affected": [
"red_hat_jboss_enterprise_application_platform_8:owasp-java-html-sanitizer",
"red_hat_jboss_enterprise_application_platform_expansion_pack:owasp-java-html-sanitizer"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2025-66021"
},
{
"category": "external",
"summary": "RHBZ#2417190",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2417190"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2025-66021",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-66021"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2025-66021",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-66021"
},
{
"category": "external",
"summary": "https://github.com/OWASP/java-html-sanitizer/security/advisories/GHSA-g9gq-3pfx-2gw2",
"url": "https://github.com/OWASP/java-html-sanitizer/security/advisories/GHSA-g9gq-3pfx-2gw2"
}
],
"release_date": "2025-11-26T01:53:37.578000+00:00",
"remediations": [
{
"category": "workaround",
"details": "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.",
"product_ids": [
"logging_subsystem_for_red_hat_openshift:owasp-java-html-sanitizer",
"openshift_developer_tools_and_services:jenkins-2-plugins.src",
"openshift_developer_tools_and_services:jenkins.src",
"red_hat_single_sign-on_7:owasp-java-html-sanitizer"
]
},
{
"category": "no_fix_planned",
"details": "Will not fix",
"product_ids": [
"logging_subsystem_for_red_hat_openshift:owasp-java-html-sanitizer",
"red_hat_single_sign-on_7:owasp-java-html-sanitizer"
]
},
{
"category": "none_available",
"details": "Affected",
"product_ids": [
"openshift_developer_tools_and_services:jenkins-2-plugins.src",
"openshift_developer_tools_and_services:jenkins.src"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L",
"version": "3.1"
},
"products": [
"logging_subsystem_for_red_hat_openshift:owasp-java-html-sanitizer",
"openshift_developer_tools_and_services:jenkins-2-plugins.src",
"openshift_developer_tools_and_services:jenkins.src",
"red_hat_jboss_enterprise_application_platform_8:owasp-java-html-sanitizer",
"red_hat_jboss_enterprise_application_platform_expansion_pack:owasp-java-html-sanitizer",
"red_hat_single_sign-on_7:owasp-java-html-sanitizer"
]
}
],
"threats": [
{
"category": "impact",
"details": "Important",
"product_ids": [
"logging_subsystem_for_red_hat_openshift:owasp-java-html-sanitizer",
"openshift_developer_tools_and_services:jenkins-2-plugins.src",
"openshift_developer_tools_and_services:jenkins.src",
"red_hat_jboss_enterprise_application_platform_8:owasp-java-html-sanitizer",
"red_hat_jboss_enterprise_application_platform_expansion_pack:owasp-java-html-sanitizer",
"red_hat_single_sign-on_7:owasp-java-html-sanitizer"
]
}
],
"title": "com.googlecode.owasp-java-html-sanitizer/owasp-java-html-sanitizer: OWASP Java HTML Sanitizer vulnerable to XSS"
}
]
}
Enrichment data
Aggregated bundle (all enrichments)