VDB

CVE-2019-10219

CVE-2019-10219 PUBLISHED CVSS 6.5 MEDIUM

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.

PackageEcosystemFixed in
org.hibernate.validator:hibernate-validatorMaven Central6.1.0.Alpha6, 6.0.18.Final
org.hibernate:hibernate-validatorMaven Central6.1.0.Alpha6, 6.0.18.Final
hibernate-validatorhibernate.org6.1.0.Alpha6, 6.0.17.Final
hibernate_validatorredhat6.0.18
retail_customer_insightsoracle16.0.2
mysql_clusteroracle8.0.27, 7.6.20, 7.5.24, 7.4.34
rapid_planningoracle12.2.11
documakeroracle12.6.4
essbaseoracle21.3, 11.1.2.4.47
graph_server_and_clientoracle21.4
essbase_administration_servicesoracle11.1.2.4.47
primavera_unifieroracle17.12

35 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.0
6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected products

VendorProductVersions
Hibernatehibernate-validator6.0.0.Alpha1, 6.1.0.Alpha1, 6.0.18.Final
Mavenorg.hibernate.validator:hibernate-validator6.1.0.Alpha1, 6.0.0.Alpha1
Hibernatehibernate-validator6.1.0.Alpha1, 6.1.0.Final, 6.0.18.Final
Mavenorg.hibernate:hibernate-validator6.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

…and 9 more

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›