{"id":"CVE-2023-1932","aliases":["GHSA-x83m-pf6f-pf9g"],"url":"https://o3.security/vulnerability/CVE-2023-1932","summary":"Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss","details":"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.","published":"2024-11-07T10:00:51.745Z","modified":"2026-08-12T03:51:45.817381064Z","cvss":{"score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.hibernate.validator:hibernate-validator","fixedVersion":"6.2.0.Final"},{"ecosystem":"Maven","name":"org.hibernate:hibernate-validator","fixedVersion":"6.2.0.Final"}],"fix":null,"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://access.redhat.com/jbossnetwork/restricted/listSoftware.html"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-1932"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1932.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1932"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1809444"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:45.817381064Z"}}