# CVE-2023-1932: hibernate-validator Cross-site Scripting vulnerability

Source: https://junglewise.ai/threats/cve-2023-1932-hibernate-validator-cross-site-scripting-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-11-07  
License: CC BY 4.0 with a link back

CVE-2023-1932 · Severity: low · CVSS 3.1 · Published 2024-11-07

hibernate-validator Cross-site Scripting vulnerability

Technologies: [org.hibernate:hibernate-validator (Maven)](https://junglewise.ai/threats/technologies/org-hibernate-hibernate-validator), [org.hibernate.validator:hibernate-validator (Maven)](https://junglewise.ai/threats/technologies/org-hibernate-validator-hibernate-validator). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-1932 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-1932 being exploited in the wild.

**How severe is CVE-2023-1932?** Low severity, with a CVSS score of 3.1, published 7 November 2024.

**Which products and versions are affected?** org.hibernate:hibernate-validator (Maven) ECOSYSTEM:introduced=0,fixed=6.2.0.Final; org.hibernate.validator:hibernate-validator (Maven) ECOSYSTEM:introduced=0,fixed=6.2.0.Final.

**Is there a fix for CVE-2023-1932?** Yes. org.hibernate:hibernate-validator (Maven): upgrade to 6.2.0.Final or later; org.hibernate.validator:hibernate-validator (Maven): upgrade to 6.2.0.Final or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-1932?** Check whether you run org.hibernate:hibernate-validator (Maven) or org.hibernate.validator:hibernate-validator (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.hibernate:hibernate-validator (Maven): upgrade to 6.2.0.Final or later

  ```sh
  # set org.hibernate:hibernate-validator to 6.2.0.Final in your pom.xml or build.gradle
  ```

- org.hibernate.validator:hibernate-validator (Maven): upgrade to 6.2.0.Final or later

  ```sh
  # set org.hibernate.validator:hibernate-validator to 6.2.0.Final in your pom.xml or build.gradle
  ```


## Affected products

- org.hibernate:hibernate-validator (Maven) ECOSYSTEM:introduced=0,fixed=6.2.0.Final
- org.hibernate.validator:hibernate-validator (Maven) ECOSYSTEM:introduced=0,fixed=6.2.0.Final

## Identifiers

- CVE-2023-1932
- GHSA-x83m-pf6f-pf9g

## Related threats

- [Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language](https://junglewise.ai/threats/cve-2025-35036-hibernate-validator-may-interpolate-user-supplied-input-in-a)
- [Improper Authentication in Hibernate Validator](https://junglewise.ai/threats/cve-2014-3558-improper-authentication-in-hibernate-validator)
- [Improper Input Validation in Hibernate Validator](https://junglewise.ai/threats/cve-2020-10693-improper-input-validation-in-hibernate-validator)
- [Privilege Escalation in Hibernate Validator](https://junglewise.ai/threats/cve-2017-7536-privilege-escalation-in-hibernate-validator)
- [The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks](https://junglewise.ai/threats/cve-2019-10219-the-safehtml-annotation-in-hibernate-validator-does-not-properly)
