CVE-2023-1932
hibernate-validator Cross-site Scripting vulnerability
Description
A flaw was found in hibernate-validator's 'isValid' method in the org.hibernate.validator.internal.constraintvalidators.hv.SafeHtmlValidator class, which can be bypassed by omitting the tag ending in a less-than character. Browsers may render an invalid html, allowing HTML injection or Cross-Site-Scripting (XSS) attacks.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.hibernate » hibernate-validator | < 6.2.0.Final | 6.2.0.Final |
| org.hibernate.validator » hibernate-validator | < 6.2.0.Final | 6.2.0.Final |
Blast radius
63% of the dependent artifacts (18,809) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 154,340 |
| 2 hops | 469,983 |
| 3 hops | 310,942 |
| 4 hops | 192,475 |
| 5 hops | 88,420 |
| 6 hops | 66,474 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,081 usages
- org.springframework.boot » spring-boot-starter-actuator6,564 usages
- org.springframework.boot » spring-boot-starter-validation4,721 usages
- org.hibernate » hibernate-entitymanager3,112 usages
- org.springframework.boot » spring-boot-starter-webflux2,764 usages
- org.springframework.boot » spring-boot-actuator1,435 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- org.jboss.resteasy » resteasy-jaxrs1,181 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,158 usages
- com.typesafe.play » filters-helpers1,129 usages
- com.atlassian.plugins.rest » atlassian-rest-common905 usages
- org.jboss.resteasy » resteasy-client895 usages
- io.dropwizard » dropwizard-core894 usages
- com.atlassian.confluence » confluence724 usages
- org.springframework.cloud » spring-cloud-starter-netflix-eureka-client684 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.
