hibernate-validator Cross-site Scripting vulnerability
Moderate severity
GitHub Reviewed
Published
Nov 7, 2024
to the GitHub Advisory Database
•
Updated Nov 7, 2024
Package
Affected versions
< 6.2.0.Final
Patched versions
6.2.0.Final
Description
Published by the National Vulnerability Database
Nov 7, 2024
Published to the GitHub Advisory Database
Nov 7, 2024
Reviewed
Nov 7, 2024
Last updated
Nov 7, 2024
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.
References