Skip to content
Fencer Intel
medium 6.5

CVE-2019-10219 json

The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks

published 7y ago modified last mo. 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

Is CVE-2019-10219 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-validator
    +6 more products
    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
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Application Runtimes hibernate-validator hibernate-validator
    affected: no fix available
  • Red Hat OpenStack Platform 10 (Newton) opendaylight
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 13 (Queens) opendaylight Red Hat OpenStack Platform 14 (Rocky) opendaylight
    affected: no fix planned “Will not fix”
  • Red Hat Data Grid 7.3.6
    fixed: vendor fix RHSA-2020:2321
  • Red Hat Fuse 7.8.0
    fixed: vendor fix RHSA-2020:5568
  • Red Hat JBoss EAP 7.2
    fixed: 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 more
    fixed: vendor fix RHSA-2020:0159
show 6 more
  • 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 more
    fixed: 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 more
    fixed: 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 more
    fixed: vendor fix RHSA-2020:4366
  • Red Hat Single Sign-On 7.3
    fixed: vendor fix RHSA-2020:0445
  • Red Hat Text-Only RHOAR
    fixed: 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-validator
    not 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
last mo.

Exploit prediction

2.16% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.