Skip to content

← Public intelligence

Maven package

org.hibernate:hibernate-validator

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

6 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.9MavenPublished

    Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language

    CVE-2025-35036 · GHSA-7v6m-28jr-rg84

    Affected
    • Maven org.hibernate:hibernate-validator < 6.2.0.CR1; >= 7.0.0.Alpha1, < 7.0.0.CR1
    Fixed in
    7.0.0.CR16.2.0.CR1· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 7.0.0.CR1 or 6.2.0.CR1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.3MavenPublished

    hibernate-validator Cross-site Scripting vulnerability

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

    Affected
    • Maven org.hibernate:hibernate-validator < 6.2.0.Final
    Fixed in
    6.2.0.Final· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 6.2.0.Final or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. UnratedMavenPublished

    Improper Authentication in Hibernate Validator

    CVE-2014-3558 · GHSA-845h-985r-jrqh

    Affected
    • Maven org.hibernate:hibernate-validator >= 4.1.0, < 4.2.1; >= 4.3.0, < 4.3.2; >= 5.0.0, < 5.1.2
    Fixed in
    4.2.14.3.25.1.2· Vendor fix available
    Issue
    ReflectionHelper (org.hibernate.validator.util.ReflectionHelper) in Hibernate Validator 4.1.0 before 4.2.1, 4.3.x before 4.3.2, and 5.x before 5.1.2 allows attackers to bypass Java Security Manager (JSM) restrictions and execute restricted reflection calls via a crafted application.

    Recommended action: Upgrade to 5.1.2, 4.3.2 or 4.2.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 5.3MavenPublished

    Improper Input Validation in Hibernate Validator

    CVE-2020-10693 · GHSA-rmrm-75hp-phr2

    Affected
    • Maven org.hibernate:hibernate-validator >= 6.1.0.Final, <= 6.1.4.Final; <= 6.0.19.Final
    Fixed in
    6.0.20.Final6.1.5.Final· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 6.1.5.Final or 6.0.20.Final by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 7.0MavenPublished

    Privilege Escalation in Hibernate Validator

    CVE-2017-7536 · GHSA-xxgp-pcfc-3vgc

    Affected
    • Maven org.hibernate:hibernate-validator >= 5.2.0, <= 5.2.4.Final; >= 5.3.0, <= 5.3.5.Final; >= 5.4.0, <= 5.4.1.Final
    Fixed in
    5.3.6.Final5.2.5.Final5.4.2.Final· Vendor fix available
    Issue
    In Hibernate Validator 5.2.x before 5.2.5.Final, 5.3.x before 5.3.6.Final, and 5.4.x before 5.4.2.Final, it was found that when the security manager's reflective permissions, which allows it to access the private members of the class, are granted to Hibernate Validator, a potential privilege escalation can occur. By allowing the calling code to access those private members without the permission an attacker may be able to validate an invalid instance and access the private member value via ConstraintViolation#getInvalidValue().

    Recommended action: Upgrade to 5.4.2.Final, 5.3.6.Final or 5.2.5.Final by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. Medium, CVSS 6.5MavenPublished

    The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks

    CVE-2019-10219 · GHSA-m8p2-495h-ccmh

    Affected
    • Maven org.hibernate:hibernate-validator >= 6.1.0.Alpha1, < 6.1.0.Alpha6; >= 6.0.0.Alpha1, <= 6.0.17.Final
    Fixed in
    6.0.18.Final6.1.0.Alpha6· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 6.1.0.Alpha6 or 6.0.18.Final by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →