org.hibernate.validator:hibernate-validator vulnerabilities

Hibernate's Jakarta Validation reference implementation.

Registry
Maven
Latest
9.1.6.Final
License
Apache License 2.0

4 known advisories

The latest version, 9.1.6.Final, is not affected by any of them. Projects on older versions may be.

Update to the latest version:mvn versions:use-dep-version -Dincludes=org.hibernate.validator:hibernate-validator -DdepVersion=9.1.6.Final -DforceVersion=true

Is your project on an affected org.hibernate.validator:hibernate-validator?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for org.hibernate.validator:hibernate-validator

  • MediumCVE-2025-35036GHSA-7v6m-28jr-rg843 Jun 2025

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

    Affected
    <6.2.0.CR1 · >=7.0.0.Alpha1 <7.0.0.CR1
    Fixed in
    6.2.0.CR1, 7.0.0.CR1
  • MediumCVE-2023-1932GHSA-x83m-pf6f-pf9g7 Nov 2024

    hibernate-validator Cross-site Scripting vulnerability

    Affected
    <6.2.0.Final
    Fixed in
    6.2.0.Final
  • MediumCVE-2020-10693GHSA-rmrm-75hp-phr24 Jun 2021

    Improper Input Validation in Hibernate Validator

    Affected
    >=6.1.0.Final <6.1.5.Final · <6.0.20.Final
    Fixed in
    6.0.20.Final, 6.1.5.Final
  • MediumCVE-2019-10219GHSA-m8p2-495h-ccmh8 Jan 2020

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

    Affected
    >=6.1.0.Alpha1 <6.1.0.Alpha6 · >=6.0.0.Alpha1 <6.0.18.Final
    Fixed in
    6.0.18.Final, 6.1.0.Alpha6

Is your org.hibernate.validator:hibernate-validator version vulnerable?

Which of your client projects still run an old org.hibernate.validator:hibernate-validator?

NPMscan reads the pom.xml, build.gradle and gradle.lockfile in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Maven packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Maven registry.