GitHub Advisoryadvisory · Maven

GHSA-wg35-8jpf-2xv3 Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources.

LOW Published 2026-04-29 Modified 2026-07-02 Official page ↗
Aliases
CVE-2026-22741
Ecosystem
Maven
Packages
org.springframework:spring-webflux, org.springframework:spring-webmvc
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L
Weaknesses
CWE-524
Reviewed
2026-05-06

Affected packages

• Maven org.springframework:spring-webflux: >= 7.0.0, < 7.0.7 → fixed in 7.0.7 • Maven org.springframework:spring-webflux: >= 6.2.0, < 6.2.18 → fixed in 6.2.18 • Maven org.springframework:spring-webflux: >= 6.1.0, <= 6.1.26 (no fix yet) • Maven org.springframework:spring-webflux: <= 5.3.47 (no fix yet) • Maven org.springframework:spring-webmvc: >= 7.0.0, < 7.0.7 → fixed in 7.0.7 • Maven org.springframework:spring-webmvc: >= 6.2.0, < 6.2.18 → fixed in 6.2.18 • Maven org.springframework:spring-webmvc: >= 6.1.0, <= 6.1.26 (no fix yet) • Maven org.springframework:spring-webmvc: <= 5.3.47 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2026-22741 Spring MVC and WebFlux applications are vulnerable to cache poisoning when resolving static resources. vulnerability

Weakness · CWE (1)

  • CWE-524 Use of Cache Containing Sensitive Information weakness

References