GHSA-x83m-pf6f-pf9g
hibernate-validator Cross-site Scripting vulnerability
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2023-1932
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS_V4
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Description
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| Maven · org.hibernate.validator:hibernate-validator | introduced 0, fixed 6.2.0.Final |
| Maven · org.hibernate:hibernate-validator | introduced 0, fixed 6.2.0.Final |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2023-1932 ADVISORY
- https://access.redhat.com/security/cve/CVE-2023-1932 WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=1809444 WEB
- https://github.com/hibernate/hibernate-validator PACKAGE
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |