Skip to content
CVE PROGRAM SOURCE RECORD5.9 Medium

CVE-2026-22737

Spring Framework Improper Path Limitation with Script View Templates

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Spring Spring Framework

Default version status: unaffected

  • 7.0.0 to ≤ 7.0.5affected
  • 6.2.0 to ≤ 6.2.16affected
  • 6.1.0 to ≤ 6.1.25affected
  • 5.3.0 to ≤ 5.3.46affected

References