CVE-2023-1932
Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Timeline
ID reserved
By redhat
- 19 months later
· 19 months later
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| redhatCNA (assigner) | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Analyzed | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.49% · top 57% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
Affected products
All versions: unaffected
All versions: unaffected
Red Hat · Red Hat AMQ Broker 7
All versions: unaffected
All versions: unaffected
All versions: unknown
Red Hat · Red Hat CodeReady Studio 12
All versions: affected
All versions: unaffected
Red Hat · Red Hat Decision Manager 7
All versions: unknown
All versions: unknown
Red Hat · Red Hat JBoss BRMS 5
All versions: unknown
Red Hat · Red Hat JBoss Data Grid 7
All versions: unknown
Red Hat · Red Hat JBoss Data Virtualization 6
All versions: unknown
Red Hat · Red Hat JBoss Enterprise Application Platform 5
All versions: unknown
Red Hat · Red Hat JBoss Enterprise Application Platform 6
All versions: unknown
Red Hat · Red Hat JBoss Enterprise Application Platform 7
All versions: affected
Red Hat · Red Hat JBoss Enterprise Application Platform Continuous Delivery
All versions: affected
Red Hat · Red Hat JBoss Fuse 6
All versions: unknown
Red Hat · Red Hat JBoss Fuse Service Works 6
All versions: unknown
Red Hat · Red Hat JBoss Operations Network 3
All versions: unknown
Red Hat · Red Hat JBoss SOA Platform 5
All versions: unknown
Red Hat · Red Hat OpenStack Platform 10 (Newton)
All versions: unknown
Red Hat · Red Hat OpenStack Platform 13 (Queens)
All versions: affected
Red Hat · Red Hat Process Automation 7
All versions: unknown
All versions: affected
Red Hat · Red Hat Single Sign-On 7
All versions: affected
Red Hat · Red Hat support for Spring Boot
All versions: unknown
Red Hat · streams for Apache Kafka
All versions: unaffected
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.hibernate.validator:hibernate-validatorGHSA-x83m-pf6f-pf9g (opens in a new tab)
- Mavenorg.hibernate:hibernate-validatorGHSA-x83m-pf6f-pf9g (opens in a new tab)
References (2)
- https://access.redhat.com/security/cve/CVE-2023-1932 (opens in a new tab)vdb-entryx_refsource_REDHAT
- RHBZ#1809444 (opens in a new tab)issue-trackingx_refsource_REDHAT
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x83m-pf6f-pf9g (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-1932)Record last updated .