medium6.1
CVE-2023-1932
hibernate-validator Cross-site Scripting vulnerability
Impact
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.
Affected 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 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Codeready Studio | Version 12.0 |
| Redhat | Jboss Enterprise Application Platform | All versions Version 7.0.0 |
| Redhat | Openstack Platform | Version 13.0 |
| Redhat | Single Sign-On | Version 7.0 |
| Hibernate | Hibernate-Validator | before 6.2 |