Search for packages
| purl | pkg:maven/org.hibernate/hibernate-validator@6.0.18.Final |
| Next non-vulnerable version | 6.2.0.Final |
| Latest non-vulnerable version | 7.0.0.CR1 |
| Risk | 3.3 |
| Vulnerability | Summary | Fixed by |
|---|---|---|
|
VCID-gghq-w7r9-57hs
Aliases: CVE-2023-1932 GHSA-x83m-pf6f-pf9g |
hibernate-validator Cross-site Scripting vulnerability 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. |
Affected by 0 other vulnerabilities. |
|
VCID-gvv3-4r9v-7kau
Aliases: CVE-2025-35036 GHSA-7v6m-28jr-rg84 |
Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supplied input in a constraint violation message with Expression Language. This could allow an attacker to access sensitive information or execute arbitrary Java code. Hibernate Validator as of 6.2.0 and 7.0.0 no longer interpolates custom constraint violation messages with Expression Language and strongly recommends not allowing user-supplied input in constraint violation messages. CVE-2020-5245 and CVE-2025-4428 are examples of related, downstream vulnerabilities involving Expression Language intepolation of user-supplied data. |
Affected by 1 other vulnerability. Affected by 0 other vulnerabilities. |
| Vulnerability | Summary | Aliases |
|---|---|---|
| VCID-d4z1-hdkt-r7g1 | The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks A vulnerability was found in Hibernate-Validator. The SafeHtml validator annotation fails to properly sanitize payloads consisting of potentially malicious code in HTML comments and instructions. This vulnerability can result in an XSS attack. |
CVE-2019-10219
GHSA-m8p2-495h-ccmh |