5.9medium
Spring Framework Improper Path Limitation with Script View Templates
- Severity
- 5.9medium CVSS:3.1 by vmware
- Exploit likelihood
- 0.45% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- vmware
- Also known as
- GHSA-4773-3jfm-qmx3
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Spring Spring Framework | from 7.0.0 up to 7.0.5, from 6.2.0 up to 6.2.16, from 6.1.0 up to 6.1.25, from 5.3.0 up to 5.3.46 | CVE List |
| org.springframework:spring-webmvc (Maven) | from 7.0.0-M1 before 7.0.6, from 6.2.0 before 6.2.17, from 6.0.0 up to 6.1.21, from 5.3.0 up to 5.3.39 | GitHub Advisory Database |
| org.springframework:spring-webflux (Maven) | from 7.0.0-M1 before 7.0.6, from 6.2.0 before 6.2.17, from 6.0.0 up to 6.1.21, from 5.3.0 up to 5.3.39 | GitHub Advisory Database |
| vmware spring_framework | before 5.3.47, from 6.1.0 before 6.1.26, from 6.2.0 before 6.2.17, from 7.0.0 before 7.0.6 | NVD |
All scores
| vmware | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El uso de vistas de plantilla con motor de scripting de Java habilitado (p. ej., JRuby, Jython) en aplicaciones Spring MVC y Spring WebFlux puede resultar en la divulgación de contenido de archivos fuera de las ubicaciones configuradas para las vistas de plantilla de script. Este problema afecta a Spring framework: de 7.0.0 a 7.0.5, de 6.2.0 a 6.2.16, de 6.1.0 a 6.1.25, de 5.3.0 a 5.3.46.
References
| https://spring.io/security/cve-2026-22737 | vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-22737 | advisory | |
| https://github.com/spring-projects/spring-framework | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-22737 changed 2026-03-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4773-3jfm-qmx3 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-22737 changed 2026-06-17 | Public domain |