CVE-2023-1932
MEDIUM6.1EPSS 0.80%hibernate-validator Cross-site Scripting vulnerability
Published: 11/7/2024Modified: 4/28/2026
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.
Affected packages (3)
- Debian/libhibernate-validator-javafrom 0
- Maven/org.hibernate:hibernate-validatorfrom 0, < 6.2.0.Final
- Maven/org.hibernate.validator:hibernate-validatorfrom 0, < 6.2.0.Final
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |