CVE-2023-1932

Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss

Published Nov 7, 2024 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in hibernate-validator's 'isValid' method in the org.hibernate.validator.internal.constraintvalidators.hv.SafeHtmlValidator class, which can be bypassed by omitting the tag ending in a less-than character. Browsers may render an invalid html, allowing HTML injection or Cross-Site-Scripting (XSS) attacks.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3327 hibernate-validator Cross-site Scripting vulnerability
Github GHSA Github GHSA GHSA-x83m-pf6f-pf9g hibernate-validator Cross-site Scripting vulnerability
History
Type Values Removed Values Added
First Time appeared Hibernate
Hibernate hibernate-validator
Redhat codeready Studio
Redhat openstack Platform
Redhat single Sign-on
CPEs cpe:2.3:a:hibernate:hibernate-validator:*:*:*:*:*:*:*:*
cpe:2.3:a:redhat:codeready_studio:12.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:jboss_enterprise_application_platform:-:*:*:*:continuous_delivery:*:*:*
cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack_platform:13.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
Vendors & Products Hibernate
Hibernate hibernate-validator
Redhat codeready Studio
Redhat openstack Platform
Redhat single Sign-on
Type Values Removed Values Added
Weaknesses CWE-1286
Type Values Removed Values Added
Weaknesses CWE-79
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title hibernate-validator: rendering of invalid html with SafeHTML leads to HTML injection and XSS Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss
First Time appeared Redhat
Redhat a Mq Clients
Redhat amq Broker
Redhat amq Online
Redhat amq Streams
Redhat cryostat
Redhat jboss Data Grid
Redhat jboss Data Virtualization
Redhat jboss Developer Studio
Redhat jboss Enterprise Application Platform
Redhat jboss Enterprise Application Platform Cd
Redhat jboss Enterprise Bpms Platform
Redhat jboss Enterprise Brms Platform
Redhat jboss Enterprise Soa Platform
Redhat jboss Fuse
Redhat jboss Fuse Service Works
Redhat jboss Operations Network
Redhat openshift Application Runtimes
Redhat openstack
Redhat red Hat Single Sign On
Redhat satellite
CPEs cpe:/a:redhat:a_mq_clients:2
cpe:/a:redhat:amq_broker:7
cpe:/a:redhat:amq_online:1
cpe:/a:redhat:amq_streams:1
cpe:/a:redhat:cryostat:2
cpe:/a:redhat:jboss_data_grid:7
cpe:/a:redhat:jboss_data_grid:8
cpe:/a:redhat:jboss_data_virtualization:6
cpe:/a:redhat:jboss_developer_studio:12.
cpe:/a:redhat:jboss_enterprise_application_platform:5
cpe:/a:redhat:jboss_enterprise_application_platform:6
cpe:/a:redhat:jboss_enterprise_application_platform:7
cpe:/a:redhat:jboss_enterprise_application_platform_cd
cpe:/a:redhat:jboss_enterprise_bpms_platform:6
cpe:/a:redhat:jboss_enterprise_bpms_platform:7
cpe:/a:redhat:jboss_enterprise_brms_platform:5
cpe:/a:redhat:jboss_enterprise_brms_platform:7
cpe:/a:redhat:jboss_enterprise_soa_platform:5
cpe:/a:redhat:jboss_fuse:6
cpe:/a:redhat:jboss_fuse:7
cpe:/a:redhat:jboss_fuse_service_works:6
cpe:/a:redhat:jboss_operations_network:3
cpe:/a:redhat:openshift_application_runtimes:1.0
cpe:/a:redhat:openstack:10
cpe:/a:redhat:openstack:13
cpe:/a:redhat:red_hat_single_sign_on:7
cpe:/a:redhat:satellite:6
Vendors & Products Redhat
Redhat a Mq Clients
Redhat amq Broker
Redhat amq Online
Redhat amq Streams
Redhat cryostat
Redhat jboss Data Grid
Redhat jboss Data Virtualization
Redhat jboss Developer Studio
Redhat jboss Enterprise Application Platform
Redhat jboss Enterprise Application Platform Cd
Redhat jboss Enterprise Bpms Platform
Redhat jboss Enterprise Brms Platform
Redhat jboss Enterprise Soa Platform
Redhat jboss Fuse
Redhat jboss Fuse Service Works
Redhat jboss Operations Network
Redhat openshift Application Runtimes
Redhat openstack
Redhat red Hat Single Sign On
Redhat satellite
References