NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-22737: Spring Framework Improper Path Limitation with Script View Templates

mediumCVSS 3.1 5.9GHSA-4773-3jfm-qmx3

Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.

Published Mar 20, 2026

Affected packages

org.springframework:spring-webmvc

Ecosystem
Maven
Affected
>= 7.0.0-M1, < 7.0.6
Fixed in
7.0.6
Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc

org.springframework:spring-webmvc

Ecosystem
Maven
Affected
>= 6.2.0, < 6.2.17
Fixed in
6.2.17
Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc

org.springframework:spring-webmvc

Ecosystem
Maven
Affected
>= 6.0.0, <= 6.1.21
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc

org.springframework:spring-webmvc

Ecosystem
Maven
Affected
>= 5.3.0, <= 5.3.39
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework:spring-webmvc

org.springframework:spring-webflux

Ecosystem
Maven
Affected
>= 7.0.0-M1, < 7.0.6
Fixed in
7.0.6
Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux

org.springframework:spring-webflux

Ecosystem
Maven
Affected
>= 6.2.0, < 6.2.17
Fixed in
6.2.17
Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux

org.springframework:spring-webflux

Ecosystem
Maven
Affected
>= 6.0.0, <= 6.1.21
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux

org.springframework:spring-webflux

Ecosystem
Maven
Affected
>= 5.3.0, <= 5.3.39
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=org.springframework:spring-webflux

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Use of Java scripting engine enabled (e.g. JRuby, Jython) template views in Spring MVC and Spring WebFlux applications can result in disclosure of content from files outside the configured locations for script template views. This issue affects Spring Framework: from 7.0.0 through 7.0.5, from 6.2.0 through 6.2.16, from 6.1.0 through 6.1.25, from 5.3.0 through 5.3.46.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries