patchminder
Proof of concept · GitHub CVE-2019-10219

Cross-site scriptingin Hibernate Validator.

Published 8 Nov 2019 · Updated 8 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 6.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.0 · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 2.2% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 6.0.18.Final, 6.1.0.Alpha6
In plain words

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.

What to do now
  • 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.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
hibernate-validator
6.0.0.Alpha1 to 6.0.17.Final
Not confirmed
CVE record
hibernate-validator
6.1.0.Alpha1 to 6.1.0.Alpha6
Not confirmed
CVE record
org.hibernate.validator:hibernate-validator (Maven)
6.1.0.Alpha1 to before 6.1.0.Alpha6
6.1.0.Alpha6
GitHub advisory
org.hibernate.validator:hibernate-validator (Maven)
6.0.0.Alpha1 to before 6.0.18.Final
6.0.18.Final
GitHub advisory
org.hibernate:hibernate-validator (Maven)
6.1.0.Alpha1 to before 6.1.0.Alpha6
6.1.0.Alpha6
GitHub advisory
org.hibernate:hibernate-validator (Maven)
6.0.0.Alpha1 to before 6.0.18.Final
6.0.18.Final
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 27 Mar 2019
    CVE ID reserved by redhat.
  2. 8 Nov 2019
    Published in the CVE List.
  3. 19 Aug 2025
    First public proof of concept on GitHub.
  4. 8 Oct 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
2 repositories
GitHubno warning signs foundshoucheng3/hibernate__hibernate-validator_CVE-2019-10219_6-0-17-Final0 stars · created 19 Aug 2025
GitHubno warning signs foundshoucheng3/hibernate__hibernate-validator_CVE-2019-10219_6_0_18_Final_fixed0 stars · created 6 Sep 2025
Referencegithub.comnamed as exploit in the CVE record
Referencegithub.comnamed as exploit in the CVE record

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.

Related

Other Validator vulnerabilities

Same weakness: Cross-site scripting

All CWE-79 vulnerabilities

References
Cite this page

Patchminder. CVE-2019-10219: Cross-site scripting in Hibernate Validator. https://patchminder.com/cve/cve-2019-10219/ (accessed 5 December 2026).