GitHub Advisory Database
GHSA-pc63-qcmh-9cmg
Spring Framework Improper Path Limitation in XsltView
Details
Use of XsltView in a Spring MVC application can result in SSRF and RCE attack if the application has an "/**" mapping that results in view rendering, and where the view name is not explicitly specified. 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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework:spring-webmvc | All versions up to and including 5.2.25.RELEASE |
| Maven | org.springframework:spring-webmvc | From 5.3.0 up to and including 5.3.49 |
| Maven | org.springframework:spring-webmvc | From 6.0.0 up to and including 6.0.30 |
| Maven | org.springframework:spring-webmvc | From 6.1.0 up to and including 6.1.28 |
| Maven | org.springframework:spring-webmvc | From 6.2.0 up to and including 6.2.19 |
| Maven | org.springframework:spring-webmvc | From 7.0.0 before 7.0.9 (fixed in 7.0.9) |