CVE-2025-35036

CWE-94Code Injection9 documents8 sources
Severity
6.9MEDIUM
EPSS
1.7%
top 17.75%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 3

Description

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

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Affected Packages4 packages

CVEListV5hibernate/hibernate_validator< 6.2.0+1
Mavenorg.hibernate:hibernate-validator7.0.0.Alpha17.0.0.CR1+1
Mavenorg.hibernate.validator:hibernate-validator7.0.0.Alpha17.0.0.CR1+1

Patches

🔴Vulnerability Details

4
GHSA
Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language2025-06-03
OSV
Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language2025-06-03
OSV
CVE-2025-35036: Hibernate Validator before 62025-06-03
CVEList
hibernate-validator insecure default Expression Language interpolation2025-06-03

📋Vendor Advisories

4
Red Hat
hibernate-validator: Hibernate Validator Expression Language Injection2025-06-03
Ivanti
Ivanti Endpoint Manager Mobile (EPMM) Code Injection Vulnerability2025-05-19
CISA
Ivanti Endpoint Manager Mobile (EPMM) Code Injection Vulnerability2025-05-19
Debian
CVE-2025-35036: libhibernate-validator-java - Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is u...2025