Improper Input Validation in Hibernate Validator
Published 4 Jun 2021 · Updated 12 Sept 2025
Is your project on an affected org.hibernate.validator:hibernate-validator?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=6.1.0.Final <6.1.5.Final
- Fixed in
- 6.1.5.Final
mvn versions:use-dep-version -Dincludes=org.hibernate.validator:hibernate-validator -DdepVersion=6.1.5.Final -DforceVersion=true- Affected
- <6.0.20.Final
- Fixed in
- 6.0.20.Final
mvn versions:use-dep-version -Dincludes=org.hibernate.validator:hibernate-validator -DdepVersion=6.0.20.Final -DforceVersion=true- Affected
- >=6.1.0.Final <6.1.5.Final
- Fixed in
- 6.1.5.Final
mvn versions:use-dep-version -Dincludes=org.hibernate:hibernate-validator -DdepVersion=6.1.5.Final -DforceVersion=true- Affected
- <6.0.20.Final
- Fixed in
- 6.0.20.Final
mvn versions:use-dep-version -Dincludes=org.hibernate:hibernate-validator -DdepVersion=6.0.20.Final -DforceVersion=trueDetails
A flaw was found in Hibernate Validator version 6.1.2.Final. A bug in the message interpolation processor enables invalid EL expressions to be evaluated as if they were valid. This flaw allows attackers to bypass input sanitation (escaping, stripping) controls that developers may have put in place when handling user-controlled data in error messages.
Is GHSA-rmrm-75hp-phr2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.hibernate.validator:hibernate-validator, and gives you the command that fixes it.
More advisories for org.hibernate.validator:hibernate-validator
- MediumCVE-2025-35036Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language · 3 Jun 2025
- MediumCVE-2023-1932hibernate-validator Cross-site Scripting vulnerability · 7 Nov 2024
- MediumCVE-2019-10219The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks · 8 Jan 2020
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-10693
- Linkbugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10693
- Linklists.apache.org/thread.html/rb8dca19a4e52b60dab0ab21e2ff9968d78f4b84e4033824db1dd24b4@%3Cpluto-scm.portals.apache.org%3E
- Linklists.apache.org/thread.html/rd418deda6f0ebe658c2015f43a14d03acb8b8c2c093c5bf6b880cd7c@%3Cpluto-dev.portals.apache.org%3E
- Linklists.apache.org/thread.html/rf9c17c3efc4a376a96e9e2777eee6acf0bec28e2200e4b35da62de4a@%3Cpluto-dev.portals.apache.org%3E
- Linkwww.ibm.com/support/pages/node/6348216
- Linkwww.oracle.com/security-alerts/cpuapr2022.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.