NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2023-1932: hibernate-validator Cross-site Scripting vulnerability

mediumCVSS 4.0 5.3 · 3.1 6.1GHSA-x83m-pf6f-pf9g

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.

Published Nov 7, 2024 · Updated Sep 12, 2025

Affected packages

org.hibernate.validator:hibernate-validator

Ecosystem
Maven
Affected
< 6.2.0.Final
Fixed in
6.2.0.Final
Check
mvn dependency:tree -Dincludes=org.hibernate.validator:hibernate-validator

org.hibernate:hibernate-validator

Ecosystem
Maven
Affected
< 6.2.0.Final
Fixed in
6.2.0.Final
Check
mvn dependency:tree -Dincludes=org.hibernate:hibernate-validator

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to AndrzejBiernacki2010.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries