CVE-2019-10219 json
The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks
published 2019-11-08 7 y ago modified 2026-10-08 31 d ago also GHSA-m8p2-495h-ccmh , EUVD-2020-0269
- cvss
- 6.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.hibernate.validator:hibernate-validator 6.0.18.Final, 6.1.0.Alpha6
- maven org.hibernate:hibernate-validator 6.0.18.Final, 6.1.0.Alpha6
- Hibernate hibernate-validator 6.0.18.Final, 6.1.0.Final
- eap7-netty jboss enterprise application platform 7.2 4.1.42-1.Final_redhat_00001.1.el8eap
- eap7-jberet jboss enterprise application platform 7.2 1.3.5-1.Final_redhat_00001.1.el8eap
- eap7-wildfly jboss enterprise application platform 7.2 7.2.6-5.GA_redhat_00001.1.el8eap
- eap7-undertow jboss enterprise application platform 7.2 2.0.28-2.SP1_redhat_00001.1.el8eap
- eap7-weld-ejb jboss enterprise application platform 7.2 3.0.6-3.Final_redhat_00003.1.el8eap
- eap7-weld-jta jboss enterprise application platform 7.2 3.0.6-3.Final_redhat_00003.1.el8eap
- eap7-weld-web jboss enterprise application platform 7.2 3.0.6-3.Final_redhat_00003.1.el8eap
- eap7-hibernate jboss enterprise application platform 7.2 5.3.14-1.Final_redhat_00001.1.el8eap
red hat advisories RHSA-2020:0161RHSA-2020:0160RHSA-2020:0159RHSA-2020:4366
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-10219 updated cvss 6.5
hibernate-validator: safeHTML validator allows XSS
-
Red Hat JBoss Developer Studio 11 hibernate-validator hibernate-validator Red Hat BPM Suite 6 hibernate-validator hibernate-validator Red Hat JBoss BRMS 5 hibernate-validator hibernate-validator Red Hat JBoss BRMS 6 hibernate-validator hibernate-validator Red Hat JBoss Data Virtualization 6 hibernate-validator hibernate-validator Red Hat JBoss Enterprise Application Platform 5 hibernate-validator hibernate-validatoraffected: no fix planned “Out of support scope”
+6 more productsfewer
Red Hat JBoss Enterprise Application Platform 6 hibernate-validator hibernate-validator Red Hat JBoss Fuse 6 hibernate-validator hibernate-validator Red Hat JBoss Fuse Service Works 6 hibernate-validator hibernate-validator Red Hat JBoss Operations Network 3 hibernate-validator hibernate-validator Red Hat JBoss SOA Platform 5 hibernate-validator hibernate-validator Red Hat Mobile Application Platform 4 hibernate-validator -
Red Hat OpenShift Application Runtimes hibernate-validator hibernate-validatoraffected: no fix available
-
Red Hat OpenStack Platform 10 (Newton) opendaylightaffected: no fix planned “Out of support scope”
-
Red Hat OpenStack Platform 13 (Queens) opendaylight Red Hat OpenStack Platform 14 (Rocky) opendaylightaffected: no fix planned “Will not fix”
-
Red Hat Data Grid 7.3.6fixed: vendor fix RHSA-2020:2321
-
Red Hat Fuse 7.8.0fixed: vendor fix RHSA-2020:5568
-
Red Hat JBoss EAP 7.2fixed: vendor fix RHSA-2020:0164
-
Red Hat JBoss EAP 7.2 for RHEL 6 Server eap7-wildfly 7.2.6-5.GA_redhat_00001.1.el6eap, eap7-apache-cxf 3.2.11-1.redhat_00001.1.el6eap, eap7-jberet 1.3.5-1.Final_redhat_00001.1.el6eap, eap7-netty 4.1.42-1.Final_redhat_00001.1.el6eap, eap7-jackson-core 2.9.10-1.redhat_00003.1.el6eap, eap7-undertow 2.0.28-2.SP1_redhat_00001.1.el6eap, +71 morefixed: vendor fix RHSA-2020:0159
show 6 moreshow fewer
-
Red Hat JBoss EAP 7.2 for RHEL 7 Server eap7-wildfly 7.2.6-5.GA_redhat_00001.1.el7eap, eap7-apache-cxf 3.2.11-1.redhat_00001.1.el7eap, eap7-jberet 1.3.5-1.Final_redhat_00001.1.el7eap, eap7-netty 4.1.42-1.Final_redhat_00001.1.el7eap, eap7-jackson-core 2.9.10-1.redhat_00003.1.el7eap, eap7-undertow 2.0.28-2.SP1_redhat_00001.1.el7eap, +73 morefixed: vendor fix RHSA-2020:0160
-
Red Hat JBoss EAP 7.2 for RHEL 8 eap7-wildfly 7.2.6-5.GA_redhat_00001.1.el8eap, eap7-apache-cxf 3.2.11-1.redhat_00001.1.el8eap, eap7-jberet 1.3.5-1.Final_redhat_00001.1.el8eap, eap7-netty 4.1.42-1.Final_redhat_00001.1.el8eap, eap7-jackson-core 2.9.10-1.redhat_00003.1.el8eap, eap7-undertow 2.0.28-2.SP1_redhat_00001.1.el8eap, +71 morefixed: vendor fix RHSA-2020:0161
-
Red Hat Satellite 6.8 tfm 6.1-1.el7sat, kobo 0.5.1-1.el7sat, pulp 2.21.3-1.el7sat, gofer 2.12.5-7.el7sat, receptor 0.6.3-1.el7ar, future 0.16.0-11.el7sat, +487 more Red Hat Satellite Capsule 6.8 tfm 6.1-1.el7sat, kobo 0.5.1-1.el7sat, pulp 2.21.3-1.el7sat, gofer 2.12.5-7.el7sat, future 0.16.0-11.el7sat, katello 3.16.0-1.el7sat, +231 morefixed: vendor fix RHSA-2020:4366
-
Red Hat Single Sign-On 7.3fixed: vendor fix RHSA-2020:0445
-
Red Hat Text-Only RHOARfixed: vendor fix RHSA-2020:2067
-
Red Hat Decision Manager 7 hibernate-validator hibernate-validator Red Hat Process Automation 7 hibernate-validator hibernate-validator Red Hat Satellite 6.8 libwebsockets 2.4.2-2.el7 Red Hat Satellite Capsule 6.8 libwebsockets 2.4.2-2.el7 Red Hat support for Spring Boot hibernate-validator hibernate-validatornot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 31 d ago
Exploit prediction
2.16% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/poc-effectiveness/PoCAdaptation/tree/main/Adapted/CVE-2019-10219 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/poc-effectiveness/PoCAdaptation/tree/main/Origin/CVE-2019-10219/exploit referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.hibernate.validator:hibernate-validator | >=6.1.0.Alpha1, <6.1.0.Alpha6 >=6.0.0.Alpha1, <6.0.18.Final |
6.1.0.Alpha6 6.0.18.Final |
| maven | org.hibernate:hibernate-validator | >=6.1.0.Alpha1, <6.1.0.Alpha6 >=6.0.0.Alpha1, <6.0.18.Final |
6.1.0.Alpha6 6.0.18.Final |
Affected products
- Hibernate hibernate-validator
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
github.com
/hibernate/hibernate-validator/commit/20d729548511ac5cff6fd459f93de137195420fe
patch, web
-
github.com
/hibernate/hibernate-validator/commit/124b7dd6d9a4ad24d4d49f74701f05a13e56cee
patch, web
-
github.com
/hibernate/hibernate-validator/commit/124b7dd6d9a4ad24d4d49f74701f05a13e56ceee
web
-
github.com
/poc-effectiveness/PoCAdaptation/tree/main/Adapted/CVE-2019-10219
exploit, web
-
github.com
/poc-effectiveness/PoCAdaptation/tree/main/Origin/CVE-2019-10219/exploit
exploit, web
-
access.redhat.com
/errata/RHSA-2020:0164
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2020:0159
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2020:0160
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2020:0161
vendor-advisory, web, third-party-advisory
-
access.redhat.com
/errata/RHSA-2020:0445
vendor-advisory, web, third-party-advisory
-
lists.apache.org
/thread.html/r87b7e2d22982b4ca9f88f5f4f22a19b394d2662415b233582ed22ebf%40%3Cnotifications.accumulo.apache.org%
mailing-list, web
-
lists.apache.org
/thread.html/r4f8b4e2541be4234946e40d55859273a7eec0f4901e8080ce2406fe6%40%3Cnotifications.accumulo.apache.org%
mailing-list, web
-
lists.apache.org
/thread.html/r4f92d7f7682dcff92722fa947f9e6f8ba2227c5dc3e11ba09114897d%40%3Cnotifications.accumulo.apache.org%
mailing-list, web
-
lists.apache.org
/thread.html/rf9c17c3efc4a376a96e9e2777eee6acf0bec28e2200e4b35da62de4a%40%3Cpluto-dev.portals.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/rd418deda6f0ebe658c2015f43a14d03acb8b8c2c093c5bf6b880cd7c%40%3Cpluto-dev.portals.apache.org%3E
mailing-list, web
-
lists.apache.org
/thread.html/rb8dca19a4e52b60dab0ab21e2ff9968d78f4b84e4033824db1dd24b4%40%3Cpluto-scm.portals.apache.org%3E
mailing-list, web
-
oracle.com
/security-alerts/cpujan2022.html
web, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2019-10219
web, issue-tracking, third-party-advisory
-
security.netapp.com
/advisory/ntap-20220210-0024/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-10219
advisory
-
security.netapp.com
/advisory/ntap-20220210-0024
web
-
lists.apache.org
/thread.html/rf9c17c3efc4a376a96e9e2777eee6acf0bec28e2200e4b35da62de4a@%3Cpluto-dev.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/rd418deda6f0ebe658c2015f43a14d03acb8b8c2c093c5bf6b880cd7c@%3Cpluto-dev.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/rb8dca19a4e52b60dab0ab21e2ff9968d78f4b84e4033824db1dd24b4@%3Cpluto-scm.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/r87b7e2d22982b4ca9f88f5f4f22a19b394d2662415b233582ed22ebf@%3Cnotifications.accumulo.apache.org%3E
web
-
lists.apache.org
/thread.html/r4f92d7f7682dcff92722fa947f9e6f8ba2227c5dc3e11ba09114897d@%3Cnotifications.accumulo.apache.org%3E
web
-
lists.apache.org
/thread.html/r4f8b4e2541be4234946e40d55859273a7eec0f4901e8080ce2406fe6@%3Cnotifications.accumulo.apache.org%3E
web
-
github.com
/hibernate/hibernate-validator
package
Sources
- CVE List CVE-2019-10219
- GitHub Advisory GHSA-m8p2-495h-ccmh
- NVD CVE-2019-10219
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.