{"cve":{"cve_id":"CVE-2025-35036","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.00697,"epss_percentile":0.50376,"epss_as_of":"2026-08-26","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-5245 and CVE-2025-4428 are examples of related, downstream vulnerabilities involving Expression Language intepolation of user-supplied data.","published_at":"2025-06-03T19:27:42.900000Z","last_modified_at":null,"cvss_v3_score":7.3,"cvss_v3_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","cvss_v3_severity":"HIGH","cvss_v4_score":6.9,"cvss_v4_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","cvss_v4_severity":"MEDIUM","ssvc_decision":null,"ssvc_exploitation":"poc","ssvc_automatable":false,"ssvc_technical_impact":"partial","cwes":["CWE-94"],"nvd_references":["https://hibernate.org/validator/documentation/migration-guide/#6-2-0-cr1","https://in.relation.to/2021/01/06/hibernate-validator-700-62-final-released/#expression-language","https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#section-hibernateconstraintvalidatorcontext","https://hibernate.atlassian.net/browse/HV-1816","https://github.com/hibernate/hibernate-validator/compare/6.1.7.Final...6.2.0.Final","https://github.com/hibernate/hibernate-validator/commit/05f795bb7cf18856004f40e5042709e550ed0d6e","https://github.com/hibernate/hibernate-validator/commit/254858d9dcc4e7cd775d1b0f47f482218077c5e1","https://github.com/hibernate/hibernate-validator/commit/e076293b0ee1bfa97b6e67d05ad9eee1ad77e893","https://labs.watchtowr.com/expression-payloads-meet-mayhem-cve-2025-4427-and-cve-2025-4428/","https://github.com/hibernate/hibernate-validator/commit/d2db40b9e7d22c7a0b44d7665242dfc7b4d14d78","https://github.com/hibernate/hibernate-validator/pull/1138","https://www.cve.org/CVERecord?id=CVE-2025-4428","https://www.cve.org/CVERecord?id=CVE-2020-5245"],"vuln_status":null,"trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-06-24T00:09:39.878444Z","updated_at":"2026-06-29T23:46:59.033383Z"},"effective_severity":"MEDIUM","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.1","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"L","value_label":"Low"},{"metric":"I","name":"Integrity","value":"L","value_label":"Low"},{"metric":"A","name":"Availability","value":"L","value_label":"Low"}]},"cvss_v4_decoded":{"version":"4.0","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"AT","name":"Attack Requirements","value":"N","value_label":"None"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"N","value_label":"None"},{"metric":"VC","name":"Confidentiality (Vulnerable System)","value":"L","value_label":"Low"},{"metric":"VI","name":"Integrity (Vulnerable System)","value":"L","value_label":"Low"},{"metric":"VA","name":"Availability (Vulnerable System)","value":"L","value_label":"Low"},{"metric":"SC","name":"Confidentiality (Subsequent System)","value":"N","value_label":"None"},{"metric":"SI","name":"Integrity (Subsequent System)","value":"N","value_label":"None"},{"metric":"SA","name":"Availability (Subsequent System)","value":"N","value_label":"None"}]},"affected":[{"vendor_slug":"hibernate","vendor_name":"Hibernate","product_slug":"hibernate-validator","product_name":"Hibernate Validator","version_start":"0","version_start_inclusive":true,"version_end":"6.2.0","version_end_inclusive":false,"cpe23_uri":"cve5:hibernate:hibernate-validator:0:6.2.0"},{"vendor_slug":"hibernate","vendor_name":"Hibernate","product_slug":"hibernate-validator","product_name":"Hibernate Validator","version_start":"0","version_start_inclusive":true,"version_end":"7.0.0","version_end_inclusive":false,"cpe23_uri":"cve5:hibernate:hibernate-validator:0:7.0.0"},{"vendor_slug":"hibernate","vendor_name":"Hibernate","product_slug":"hibernate-validator","product_name":"Hibernate Validator","version_start":"6.2.0","version_start_inclusive":true,"version_end":"6.2.0","version_end_inclusive":true,"cpe23_uri":"cve5:hibernate:hibernate-validator:6.2.0:6.2.0"},{"vendor_slug":"hibernate","vendor_name":"Hibernate","product_slug":"hibernate-validator","product_name":"Hibernate Validator","version_start":"7.0.0","version_start_inclusive":true,"version_end":"7.0.0","version_end_inclusive":true,"cpe23_uri":"cve5:hibernate:hibernate-validator:7.0.0:7.0.0"}],"exploit_refs":[],"news":[],"references":[{"url":"https://hibernate.org/validator/documentation/migration-guide/#6-2-0-cr1","source_type":"MISC","tags":[]},{"url":"https://in.relation.to/2021/01/06/hibernate-validator-700-62-final-released/#expression-language","source_type":"MISC","tags":[]},{"url":"https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/#section-hibernateconstraintvalidatorcontext","source_type":"MISC","tags":[]},{"url":"https://hibernate.atlassian.net/browse/HV-1816","source_type":"MISC","tags":[]},{"url":"https://github.com/hibernate/hibernate-validator/compare/6.1.7.Final...6.2.0.Final","source_type":"MISC","tags":[]},{"url":"https://github.com/hibernate/hibernate-validator/commit/05f795bb7cf18856004f40e5042709e550ed0d6e","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/hibernate/hibernate-validator/commit/254858d9dcc4e7cd775d1b0f47f482218077c5e1","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/hibernate/hibernate-validator/commit/e076293b0ee1bfa97b6e67d05ad9eee1ad77e893","source_type":"PATCH","tags":["patch"]},{"url":"https://labs.watchtowr.com/expression-payloads-meet-mayhem-cve-2025-4427-and-cve-2025-4428/","source_type":"MISC","tags":[]},{"url":"https://github.com/hibernate/hibernate-validator/commit/d2db40b9e7d22c7a0b44d7665242dfc7b4d14d78","source_type":"PATCH","tags":["patch"]},{"url":"https://github.com/hibernate/hibernate-validator/pull/1138","source_type":"PATCH","tags":["patch"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-4428","source_type":"CONFIRM","tags":[]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5245","source_type":"CONFIRM","tags":[]}],"timeline":[{"type":"published","at":"2025-06-03T19:27:42.900000Z","label":"CVE published","source":null},{"type":"cvss_changed","at":"2026-06-28T17:45:14.569802Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:45:14.569802Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:45:14.569802Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:45:14.569802Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:45:14.569802Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"cvss_changed","at":"2026-06-28T17:45:14.569802Z","label":"CVSS score revised","source":"cvelistv5"},{"type":"ssvc_changed","at":"2026-06-29T23:46:59.033383Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T23:46:59.033383Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-06-29T23:46:59.033383Z","label":"SSVC decision revised","source":"vulnrichment"}]}