{"id":"CVE-2026-22737","aliases":["CVE-2026-22737","GHSA-4773-3jfm-qmx3"],"related":[],"kind":"vulnerability","state":"published","title":"Spring Framework Improper Path Limitation with Script View Templates","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-03-19T23:53:59.918Z","modified":"2026-09-10T03:50:37.345Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"7.0.0","lastAffected":"7.0.5","status":"affected"},{"type":"custom","introduced":"6.2.0","lastAffected":"6.2.16","status":"affected"},{"type":"custom","introduced":"6.1.0","lastAffected":"6.1.25","status":"affected"},{"type":"custom","introduced":"5.3.0","lastAffected":"5.3.46","status":"affected"}],"vendor":"Spring","product":"Spring Framework","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0-M1","status":"affected","fixed":"7.0.6"}],"ecosystem":"Maven","package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.2.0","status":"affected","fixed":"6.2.17"}],"ecosystem":"Maven","package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","lastAffected":"6.1.21"}],"ecosystem":"Maven","package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.3.0","status":"affected","lastAffected":"5.3.39"}],"ecosystem":"Maven","package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"7.0.0-M1","status":"affected","fixed":"7.0.6"}],"ecosystem":"Maven","package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.2.0","status":"affected","fixed":"6.2.17"}],"ecosystem":"Maven","package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.0.0","status":"affected","lastAffected":"6.1.21"}],"ecosystem":"Maven","package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.3.0","status":"affected","lastAffected":"5.3.39"}],"ecosystem":"Maven","package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.3.47"},{"status":"affected","introduced":"6.1.0","fixed":"6.1.26"},{"status":"affected","introduced":"6.2.0","fixed":"6.2.17"},{"status":"affected","introduced":"7.0.0","fixed":"7.0.6"}],"vendor":"vmware","product":"spring_framework","cpe":"cpe:2.3:a:vmware:spring_framework:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://spring.io/security/cve-2026-22737","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22737","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/spring-projects/spring-framework","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-03-20T14:43:36.520Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-22737","url":"https://www.cve.org/CVERecord?id=CVE-2026-22737","licence":"CVE Terms of Use","modified":"2026-03-20T14:43:50.722Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4773-3jfm-qmx3","url":"https://github.com/advisories/GHSA-4773-3jfm-qmx3","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:37.345Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-22737","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22737","licence":"Public domain","modified":"2026-06-17T10:20:19.327Z"}],"updatedAt":"2026-11-25T22:59:16.233Z","epss":{"score":0.00451,"percentile":0.40891,"date":"2026-12-01T12:00:22.000Z"}}