Cross-site scriptingin Hibernate Validator.
Proof of concept public (GitHub).
A vulnerability was found in Hibernate-Validator. The SafeHtml validator annotation fails to properly sanitize payloads consisting of potentially malicious code in HTML comments and instructions. This vulnerability can result in an XSS attack.
- Upgrade org.hibernate.validator:hibernate-validator (Maven) to 6.0.18.Final, 6.1.0.Alpha6 or later, whichever matches your release line.
- Upgrade org.hibernate:hibernate-validator (Maven) to 6.0.18.Final, 6.1.0.Alpha6 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 27 Mar 2019CVE ID reserved by redhat.
- 8 Nov 2019Published in the CVE List.
- 19 Aug 2025First public proof of concept on GitHub.
- 8 Oct 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Validator vulnerabilities
Same weakness: Cross-site scripting
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- access.redhat.com vendor-advisory, x_refsource_REDHAT
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- lists.apache.org mailing-list, x_refsource_MLIST
- www.oracle.com x_refsource_MISC
- github.com patch
- github.com patch
- bugzilla.redhat.com x_refsource_CONFIRM
- security.netapp.com x_refsource_CONFIRM
- github.com
Patchminder. CVE-2019-10219: Cross-site scripting in Hibernate Validator. https://patchminder.com/cve/cve-2019-10219/ (accessed 5 December 2026).