CVE-2026-47887
Spring Framework Open Redirect in UrlFileNameViewController
Description
A Spring MVC application that uses UrlFileNameViewController that is mapped with an end-of-path, and does not have a configured prefix is vulnerable to an open redirect. Spring Framework 7.0.0 - 7.0.8 Spring Framework 6.2.0 - 6.2.19 Spring Framework 6.1.0 - 6.1.28 Spring Framework 6.0.0 - 6.0.30 Spring Framework 5.3.0 - 5.3.49 Spring Framework 5.2.25.RELEASE and earlier
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework » spring-webmvc | <= 5.2.25.RELEASE>= 5.3.0, <= 5.3.49>= 6.0.0, <= 6.0.30>= 6.1.0, <= 6.1.28>= 6.2.0, <= 6.2.19>= 7.0.0, <= 7.0.8 | - |
Blast radius
76% of the dependent artifacts (31,776) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 211,693 |
| 2 hops | 483,012 |
| 3 hops | 530,047 |
| 4 hops | 294,994 |
| 5 hops | 129,138 |
| 6 hops | 56,435 |
Most used dependents
- org.springframework.boot » spring-boot-starter-web19,088 usages
- org.springframework » spring-test12,237 usages
- org.springframework » spring-orm3,196 usages
- io.springfox » springfox-swagger21,926 usages
- org.wso2.carbon » org.wso2.carbon.core1,598 usages
- io.springfox » springfox-swagger-ui1,418 usages
- org.springframework.boot » spring-boot-starter-websocket1,319 usages
- net.sf.ehcache » ehcache1,234 usages
- org.jenkins-ci.main » jenkins-core1,191 usages
- org.wso2.carbon » org.wso2.carbon.utils1,179 usages
- org.springframework.boot » spring-boot-starter-thymeleaf1,159 usages
- org.springframework.data » spring-data-mongodb1,154 usages
- org.springframework » spring1,074 usages
- org.springdoc » springdoc-openapi-starter-webmvc-ui1,042 usages
- org.wso2.carbon » org.wso2.carbon.ui803 usages
Computed from the dependency graph of build 20261125.0317 (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
| Advisory | CVE record CVE-2026-47887 | github.com |
| Advisory | NVD CVE-2026-47887 | nvd.nist.gov |
| Web | security/cve-2026-47887 | spring.io |
