GHSA-x83m-pf6f-pf9g
hibernate-validator Cross-site Scripting vulnerability
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.hibernate.validator:hibernate-validator | < 6.2.0.Final | 6.2.0.Final |
| Maven | org.hibernate:hibernate-validator | < 6.2.0.Final | 6.2.0.Final |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.