MODERATE 6.5

CVE-2019-10219

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

Description

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.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.hibernate » hibernate-validator
>= 6.0.0.Alpha1, < 6.0.18.Final>= 6.1.0.Alpha1, < 6.1.0.Alpha6
6.0.18.Final, 6.1.0.Alpha6
org.hibernate.validator » hibernate-validator
>= 6.0.0.Alpha1, < 6.0.18.Final>= 6.1.0.Alpha1, < 6.1.0.Alpha6
6.0.18.Final, 6.1.0.Alpha6

Blast radius

2affected artifacts
71affected versions
9,041dependent artifacts (est.)
234,619dependent versions

42% of the dependent artifacts (3,878) still pull an affected version in their latest release.

DepthDependent versions
Direct
20,215
2 hops
89,676
3 hops
57,196
4 hops
44,481
5 hops
15,552
6 hops
7,499

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webgithub.com
Webgithub.com
Webgithub.com
Weboracle.com
Websecurity.netapp.com
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Weblists.apache.org
Webgithub.com
Webgithub.com
Webbugzilla.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com
Webaccess.redhat.com