{"id":"GHSA-qw4h-3xjj-84cc","summary":"Apache Tiles: Unvalidated input may lead to path traversal and XXE","details":"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.\n\nThis issue affects Apache Tiles from version 2 onwards.\n\nNOTE: This vulnerability only affects products that are no longer supported by the maintainer.","aliases":["CVE-2023-49735"],"modified":"2025-11-04T18:44:12.388014Z","published":"2023-12-01T00:31:00Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-12-11T21:45:42Z","nvd_published_at":"2023-11-30T22:15:09Z","cwe_ids":["CWE-22","CWE-776"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49735"},{"type":"PACKAGE","url":"https://github.com/apache/tiles"},{"type":"WEB","url":"https://lists.apache.org/thread/8ktm4vxr6vvc1qsxh6ft8jzmom1zl65p"}],"affected":[{"package":{"name":"org.apache.tiles:tiles-core","ecosystem":"Maven","purl":"pkg:maven/org.apache.tiles/tiles-core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"}]}],"versions":["2.0.1","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.2.0","2.2.1","2.2.2","3.0.0","3.0.1","3.0.3","3.0.4","3.0.5","3.0.7","3.0.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-qw4h-3xjj-84cc/GHSA-qw4h-3xjj-84cc.json"}},{"package":{"name":"org.apache.struts:struts-tiles","ecosystem":"Maven","purl":"pkg:maven/org.apache.struts/struts-tiles"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.3.0"},{"last_affected":"1.3.10"}]}],"versions":["1.3.10","1.3.5","1.3.8","1.3.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-qw4h-3xjj-84cc/GHSA-qw4h-3xjj-84cc.json"}},{"package":{"name":"struts:struts","ecosystem":"Maven","purl":"pkg:maven/struts/struts"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"last_affected":"1.2.9"}]}],"versions":["1.1","1.2.2","1.2.4","1.2.7","1.2.8","1.2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-qw4h-3xjj-84cc/GHSA-qw4h-3xjj-84cc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}