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)
| Artifact | Affected versions | Fixed 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
42% of the dependent artifacts (3,878) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- io.dropwizard » dropwizard-core894 usages
- org.redisson » redisson-spring-boot-starter574 usages
- org.apereo.cas » cas-server-core-util-api492 usages
- io.dropwizard » dropwizard-testing463 usages
- org.springframework.boot » spring-boot-starter-freemarker452 usages
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.apereo.cas » cas-server-core-configuration-api442 usages
- org.apereo.cas » cas-server-core-authentication-api400 usages
- org.wildfly » wildfly-feature-pack372 usages
- io.confluent » kafka-avro-serializer359 usages
- org.springframework.boot » spring-boot-starter-data-rest350 usages
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.
