CVE-2019-10219
The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks
Reported by redhat · Published November 8, 2019
hibernate-validator is fixed in 6.1.0.Alpha6 and 6.0.18.Final (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.hibernate.validator:hibernate-validator | Maven Central | 6.1.0.Alpha6, 6.0.18.Final |
| org.hibernate:hibernate-validator | Maven Central | 6.1.0.Alpha6, 6.0.18.Final |
| hibernate-validator | hibernate.org | 6.1.0.Alpha6, 6.0.17.Final |
| hibernate_validator | redhat | 6.0.18 |
| retail_customer_insights | oracle | 16.0.2 |
| mysql_cluster | oracle | 8.0.27, 7.6.20, 7.5.24, 7.4.34 |
| rapid_planning | oracle | 12.2.11 |
| documaker | oracle | 12.6.4 |
| essbase | oracle | 21.3, 11.1.2.4.47 |
| graph_server_and_client | oracle | 21.4 |
| essbase_administration_services | oracle | 11.1.2.4.47 |
| primavera_unifier | oracle | 17.12 |
35 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Hibernate | hibernate-validator | 6.0.0.Alpha1, 6.1.0.Alpha1, 6.0.18.Final |
| Maven | org.hibernate.validator:hibernate-validator | 6.1.0.Alpha1, 6.0.0.Alpha1 |
| Hibernate | hibernate-validator | 6.1.0.Alpha1, 6.1.0.Final, 6.0.18.Final |
| Maven | org.hibernate:hibernate-validator | 6.1.0.Alpha1, 6.0.0.Alpha1 |
Timeline
- Nov 8, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 20, 2026 Distribution Patch (8 in total, the first dated here)
- Mar 20, 2026 Security Advisory (10 in total, the first dated here)
- Sep 17, 2026 Coalition ESS Score
- Oct 8, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-10219
vulnetix vdb fixes CVE-2019-10219
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-10219/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [accumulo-notifications] 20200108 [GitHub] [accumulo] milleruntime opened a new pull request #1469: Update hibernate-validator. Fixes CVE-2019-10219 mailing-listx_refsource_MLIST
- [accumulo-notifications] 20200109 [GitHub] [accumulo] milleruntime closed pull request #1469: Update hibernate-validator. Fixes CVE-2019-10219 mailing-listx_refsource_MLIST
- [accumulo-notifications] 20200109 [GitHub] [accumulo] milleruntime commented on issue #1469: Update hibernate-validator. Fixes CVE-2019-10219 mailing-listx_refsource_MLIST
- RHSA-2020:0164 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0159 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0160 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0161 vendor-advisoryx_refsource_REDHAT
- RHSA-2020:0445 vendor-advisoryx_refsource_REDHAT
- [portals-pluto-dev] 20210714 [jira] [Created] (PLUTO-791) Upgrade to hibernate-validator-6.0.20.Final due to CVE-2020-10693 and CVE-2019-10219 mailing-listx_refsource_MLIST
- [portals-pluto-dev] 20210714 [jira] [Closed] (PLUTO-791) Upgrade to hibernate-validator-6.0.20.Final due to CVE-2020-10693 and CVE-2019-10219 mailing-listx_refsource_MLIST
- [portals-pluto-scm] 20210714 [portals-pluto] branch master updated: PLUTO-791 Upgrade to hibernate-validator-6.0.20.Final due to CVE-2020-10693 and CVE-2019-10219 mailing-listx_refsource_MLIST
- x_refsource_MISC
- Upstream fix commit patch
- Upstream fix commit patch
- Proof of Concept exploit
- Proof of Concept exploit
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2019-10219 advisory
- https://github.com/advisories/GHSA-m8p2-495h-ccmh advisory
…and 9 more