LOW 3.1

CVE-2026-22741

Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources.

Description

Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources.

More precisely, an application can be vulnerable when all the following are true:

  • the application is using Spring MVC or Spring WebFlux
  • the application is configuring the  resource chain support https://docs.spring.io/spring-framework/reference/web/webmvc/mvc-config/static-resources.html#page-title  with caching enabled
  • the application adds support for encoded resources resolution
  • the resource cache must be empty when the attacker has access to the application

When all the conditions above are met, the attacker can send malicious requests and poison the resource cache with resources using the wrong encoding. This can cause a denial of service by breaking the front-end application for clients.

Affected Maven artifacts (2)

ArtifactAffected versionsFixed in
org.springframework » spring-webflux
<= 5.3.47>= 6.1.0, <= 6.1.26>= 6.2.0, < 6.2.18>= 7.0.0, < 7.0.7
6.2.18, 7.0.7
org.springframework » spring-webmvc
<= 5.3.47>= 6.1.0, <= 6.1.26>= 6.2.0, < 6.2.18>= 7.0.0, < 7.0.7
6.2.18, 7.0.7

Blast radius

2affected artifacts
646affected versions
42,880dependent artifacts (est.)
1,696,568dependent versions

74% of the dependent artifacts (31,822) still pull an affected version in their latest release.

DepthDependent versions
Direct
205,441
2 hops
470,290
3 hops
529,740
4 hops
300,997
5 hops
133,885
6 hops
56,215

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.