Description
** UNSUPPORTED WHEN ASSIGNED **
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Tiles | 2.0.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tiles | No fix yet | — |
| Debian 13 | tiles | No fix yet | — |
| Debian 12 | tiles | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | tiles | No fix yet | — |
| Ubuntu 26.04 LTS | tiles | No fix yet | — |
| Ubuntu 25.10 | tiles | No fix yet | — |
| Ubuntu 24.04 LTS | tiles | No fix yet | — |
| Ubuntu 22.04 LTS | tiles | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tiles | No fix yet | — |
| Ubuntu 18.04 LTS | tiles | No fix yet | — |
| Ubuntu 16.04 LTS | tiles | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.struts:struts-tiles | >= 1.3.0, <= 1.3.10 | — | GHSA-qw4h-3xjj-84cc |
| Maven | org.apache.tiles:tiles-core | >= 2.0.0 | — | GHSA-qw4h-3xjj-84cc |
| Maven | struts:struts | >= 1.1, <= 1.2.9 | — | GHSA-qw4h-3xjj-84cc |
References
- https://lists.apache.org/thread/8ktm4vxr6vvc1qsxh6ft8jzmom1zl65p vendor-advisory