Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 20 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Red Hat | A-MQ Clients 2 | — | — | Not affected | CNA |
| Red Hat | Cryostat 2 | — | — | Not affected | CNA |
| Red Hat | Red Hat AMQ Broker 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat A-MQ Online | — | — | Not affected | CNA |
| Red Hat | Red Hat BPM Suite 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat CodeReady Studio 12 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Data Grid 8 | — | — | Not affected | CNA |
| Red Hat | Red Hat Decision Manager 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Fuse 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss BRMS 5 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Data Grid 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Data Virtualization 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 5 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Enterprise Application Platform Continuous Delivery | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Fuse 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Fuse Service Works 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss Operations Network 3 | — | — | No fix listed | CNA |
| Red Hat | Red Hat JBoss SOA Platform 5 | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenStack Platform 10 (Newton) | — | — | No fix listed | CNA |
| Red Hat | Red Hat OpenStack Platform 13 (Queens) | — | — | No fix listed | CNA |
| Red Hat | Red Hat Process Automation 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Satellite 6 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Single Sign-On 7 | — | — | No fix listed | CNA |
| Red Hat | Red Hat support for Spring Boot | — | — | No fix listed | CNA |
| Red Hat | streams for Apache Kafka | — | — | Not affected | CNA |
| — | org.hibernate.validator:hibernate-validator (Maven) | before 6.2.0.Final | 6.2.0.Final | Patch available | GHSA-x83m-pf6f-pf9g |
| — | org.hibernate:hibernate-validator (Maven) | before 6.2.0.Final | 6.2.0.Final | Patch available | GHSA-x83m-pf6f-pf9g |
- A-MQ Clients 2 VendorRed Hat Affected — Fixed in — Not affected CNA
- Cryostat 2 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat AMQ Broker 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat A-MQ Online VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat BPM Suite 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat CodeReady Studio 12 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Data Grid 8 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Decision Manager 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Fuse 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss BRMS 5 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Data Grid 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Data Virtualization 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 5 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Enterprise Application Platform Continuous Delivery VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Fuse 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Fuse Service Works 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss Operations Network 3 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat JBoss SOA Platform 5 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat OpenStack Platform 10 (Newton) VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat OpenStack Platform 13 (Queens) VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Process Automation 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Satellite 6 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Single Sign-On 7 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat support for Spring Boot VendorRed Hat Affected — Fixed in — No fix listed CNA
- streams for Apache Kafka VendorRed Hat Affected — Fixed in — Not affected CNA
- org.hibernate.validator:hibernate-validator (Maven) Vendor— Affected before 6.2.0.Final Fixed in 6.2.0.Final Patch available GHSA-x83m-pf6f-pf9g
- org.hibernate:hibernate-validator (Maven) Vendor— Affected before 6.2.0.Final Fixed in 6.2.0.Final Patch available GHSA-x83m-pf6f-pf9g
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redhat:codeready_studio:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:-:*:*:*:continuous_delivery:*:*:* | not specified by NVD | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:* | 7.0.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:openstack_platform:13.0:*:*:*:*:*:*:* | 13.0 | Vulnerable | Red Hat |
| cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:a:hibernate:hibernate-validator:*:*:*:*:*:*:*:* | before 6.2 | Vulnerable | Hibernate |
- cpe:2.3:a:redhat:codeready_studio:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:-:*:*:*:continuous_delivery:*:*:* Versions not specified by NVD Vulnerable ·Red Hat
- cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:* Versions 7.0.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:openstack_platform:13.0:*:*:*:*:*:*:* Versions 13.0 Vulnerable ·Red Hat
- cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:a:hibernate:hibernate-validator:*:*:*:*:*:*:*:* Versions before 6.2 Vulnerable ·Hibernate
Remediation
- Fix · GHSA-x83m-pf6f-pf9g org.hibernate.validator:hibernate-validator (Maven) Fixed in 6.2.0.Final Advisory →
- Fix · GHSA-x83m-pf6f-pf9g org.hibernate:hibernate-validator (Maven) Fixed in 6.2.0.Final Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat BPM Suite 6 | Affected | No fix planned: Out of support scope |
| Red Hat Decision Manager 7 | Affected | No fix planned: Out of support scope |
| Red Hat Fuse 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss BRMS 5 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Data Grid 7 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Data Virtualization 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 5 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Enterprise Application Platform 7 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Enterprise Application Platform Continuous Delivery | Affected | No fix planned: Will not fix |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Operations Network 3 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss SOA Platform 5 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Will not fix |
| Red Hat Process Automation 7 | Affected | No fix planned: Out of support scope |
| Red Hat Satellite 6 | Affected | No fix planned: Will not fix |
| Red Hat Single Sign-On 7 | Affected | No fix yet |
| Red Hat support for Spring Boot | Affected | No fix planned: Out of support scope |
Not affected: 6 products
- A-MQ Clients 2
- Cryostat 2
- Red Hat A-MQ Online
- Red Hat AMQ Broker 7
- Red Hat Data Grid 8
- streams for Apache Kafka
Timeline
- 2026-10-02 Threatist record created from CVE-2023-1932
- 2026-10-03 Alias added: GHSA-x83m-pf6f-pf9g
References
More Red Hat Codeready Studio vulnerabilities
- TI-2021-02983 Deserialization of untrusted data in JMSAppender in Apache Log4j 1.2 CVSS 3.1HIGH 7.5
- TI-2020-08613 Session fixation in wildfly-elytron CVSS 3.1HIGH 7.5
- TI-2021-03514 Path traversal in fabric8-kubernetes-client CVSS 3.1HIGH 7.4
- TI-2021-02587 Observable discrepancy in wildfly-elytron CVSS 3.1MEDIUM 5.3
Sources
- CVE-2023-1932 · CVE Program
- CVE-2023-1932 · NVD
- FIRST EPSS
- GHSA-x83m-pf6f-pf9g · GitHub Advisory Database · CC BY 4.0
- CVE-2023-1932 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences