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.

Project Subscriptions

Vendors Products
Spring Framework Subscribe
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-4773-3jfm-qmx3 Spring Framework Improper Path Limitation with Script View Templates
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 23 Mar 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Fri, 20 Mar 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 20 Mar 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-22

Fri, 20 Mar 2026 11:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-20
CWE-22

Fri, 20 Mar 2026 09:00:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Framework
Vendors & Products Spring
Spring spring Framework

Fri, 20 Mar 2026 00:00:00 +0000

Type Values Removed Values Added
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.
Title Spring Framework Improper Path Limitation with Script View Templates
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-03-20T14:43:50.722Z

Reserved: 2026-01-09T06:54:49.674Z

Link: CVE-2026-22737

cve-icon Vulnrichment

Updated: 2026-03-20T14:43:46.392Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-20T00:16:15.837

Modified: 2026-03-20T15:16:16.047

Link: CVE-2026-22737

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-03-19T23:53:59Z

Links: CVE-2026-22737 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-03-20T14:14:41Z

Weaknesses