# CVE-2023-1932: Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss

- Priority: **Routine**
- Reason: Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-07 · Modified: 2024-11-07
- Aliases: UBUNTU-CVE-2023-1932, DEBIAN-CVE-2023-1932, GHSA-x83m-pf6f-pf9g
- Record: https://cvemate.com/vulnerability/CVE-2023-1932 · JSON: https://cvemate.com/vulnerability/CVE-2023-1932/json

## Description

```text
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.
```

## Signals

- CVSS: 6.1 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.493%, percentile 43.918%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libhibernate-validator-java (Debian): All versions (No fix recorded)
- ubuntu libhibernate-validator-java (Ubuntu): All versions (No fix recorded)
- hibernate hibernate-validator: \< 6.2
- org.hibernate hibernate-validator (Maven): \< 6.2.0.Final
- org.hibernate.validator hibernate-validator (Maven): \< 6.2.0.Final
- redhat codeready\_studio: 12.0
- redhat jboss\_enterprise\_application\_platform: na \| 7.0.0
- redhat openstack\_platform: 13.0
- redhat single\_sign-on: 7.0

## References

- <https://access.redhat.com/security/cve/CVE-2023-1932>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1809444>
- <https://ubuntu.com/security/CVE-2023-1932>
- <https://www.cve.org/CVERecord?id=CVE-2023-1932>
- <https://security-tracker.debian.org/tracker/CVE-2023-1932>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-1932>
- <https://github.com/hibernate/hibernate-validator>

---

Data as of 2026-12-05T03:12:33.950Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
