{"id":"CVE-2023-49735","aliases":["CVE-2023-49735","GHSA-qw4h-3xjj-84cc"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Tiles: Unvalidated input may lead to path traversal and XXE","summary":"** UNSUPPORTED WHEN ASSIGNED **\n\nThe 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"** UNSUPPORTED WHEN ASSIGNED **\n\nThe 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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"** NO COMPATIBLE CUANDO ESTÁ ASIGNADO ** El valor establecido como atributo DefaultLocaleResolver.LOCALE_KEY en la sesión no se validó al resolver archivos de definición XML, lo que provocó un posible path traversal y, finalmente, SSRF/XXE al pasar datos controlados por el usuario a esta clave. Pasar datos controlados por el usuario a esta clave puede ser relativamente común, ya que también se usó así para configurar el idioma en la aplicación 'tiles-test' incluida con Tiles. Este problema afecta a Apache Tiles desde la versión 2 en adelante. NOTA: Esta vulnerabilidad solo afecta a productos que ya no son compatibles con el mantenedor.","source":"nvd"}],"published":"2023-11-30T21:17:28.243Z","modified":"2026-06-17T06:36:21.593Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22","CWE-776"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","fixed":"*","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Tiles","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected"}],"ecosystem":"Maven","package":"org.apache.tiles:tiles-core","purl":"pkg:maven/org.apache.tiles/tiles-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.3.0","status":"affected","lastAffected":"1.3.10"}],"ecosystem":"Maven","package":"org.apache.struts:struts-tiles","purl":"pkg:maven/org.apache.struts/struts-tiles","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.1","status":"affected","lastAffected":"1.2.9"}],"ecosystem":"Maven","package":"struts:struts","purl":"pkg:maven/struts/struts","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0"}],"vendor":"apache","product":"tiles","cpe":"cpe:2.3:a:apache:tiles:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/8ktm4vxr6vvc1qsxh6ft8jzmom1zl65p","tags":["mailing-list","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49735","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/tiles","tags":["package"],"sources":["ghsa"]}],"credits":["Joseph Beeton of Contrast Security"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-11-20T18:11:49.003Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-49735","url":"https://www.cve.org/CVERecord?id=CVE-2023-49735","licence":"CVE Terms of Use","modified":"2024-11-20T18:12:54.281Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qw4h-3xjj-84cc","url":"https://github.com/advisories/GHSA-qw4h-3xjj-84cc","licence":"CC-BY-4.0","modified":"2025-11-04T18:44:12.388Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-49735","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-49735","licence":"Public domain","modified":"2026-06-17T06:36:21.593Z"}],"updatedAt":"2026-11-25T22:58:30.847Z","epss":{"score":0.01557,"percentile":0.75547,"date":"2026-11-30T12:00:22.000Z"}}