Apache Tiles: Unvalidated input may lead to path traversal and XXE
The value set as the DefaultLocaleResolver.LOCALE_KEY attribute on the session was not validated while resolving XML definition files, leading to possible path traversal and eventually SSRF/XXE when passing user-controlled data to this key. Passing user-controlled data to this key may be relatively common, as it was also used like that to set the language in the 'tiles-test' application shipped with Tiles.
This issue affects Apache Tiles from version 2 onwards.
NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.struts:struts-tiles | >= 1.3.0, <= 1.3.10 | no fix |
| Java / Kotlin (Maven) | org.apache.tiles:tiles-core | >= 2.0.0 | no fix |
| Java / Kotlin (Maven) | struts:struts | >= 1.1, <= 1.2.9 | no fix |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-22, CWE-776- Platform
- Java / Kotlin (Maven)
- Package
org.apache.struts:struts-tiles, org.apache.tiles:tiles-core, struts:struts- Disclosed
- 01.12.2023
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qw4h-3xjj-84cc - CC BY 4.0
Vulnerability history: struts:struts
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 10
- First → latest
- 05.2022 07.2025
- Without a fix
- 6
- Exploited in attacks
- 1
Severity breakdown
- High 7
- Medium 2
- Low 1
Disclosures per year
- 2022: 7
- 2023: 2
- 2024: 0
- 2025: 1
- 2026: 0
-
Apache Tiles: Unvalidated input may lead to path traversal and XXE this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.