{"id":"CVE-2026-34151","state":"PUBLISHED","title":"XWiki Platform: Resource path traversal via /skin/ action endpoint in Jetty 12+","description":"XWiki Platform is a generic wiki platform. Prior to 17.10.5 and 18.2.0, the /skin/ action in com.xpn.xwiki.web.SkinAction can resolve double-encoded parent-directory segments outside the intended skin or web-application resource prefix when Jetty 12 or later decodes the request path. The affected lookup is replaced with Environment.getResourceAsStream(String, String), which constrains a resource to its expected prefix. An unauthenticated remote attacker can use the vulnerable behavior to read arbitrary resources permitted to the Jetty process, including WEB-INF/xwiki.cfg and, depending on deployment depth and operating-system permissions, host files. Tomcat and Jetty versions before 12 do not appear affected. This issue is fixed in versions 17.10.5 and 18.2.0.","publishedAt":"2026-09-14T17:12:18.814Z","updatedAt":"2026-09-14T18:56:11.951Z","severity":{"score":8.2,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["xwiki xwiki-platform"],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":"< 17.10.5","status":"affected"},{"version":">= 18.0.0-rc-1, < 18.2.0","status":"affected"}]}],"references":["https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj4x-9g63-25g6","https://github.com/xwiki/xwiki-commons/pull/1675","https://github.com/xwiki/xwiki-platform/commit/79eba8655f3a96021a8e7ad07956e48d20a82383","https://github.com/xwiki/xwiki-platform/commit/f7b33704083d3b4e45d1b9fc1e2cc33c66855f85","https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5","https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0","https://jira.xwiki.org/browse/XCOMMONS-3594","https://jira.xwiki.org/browse/XWIKI-24075"],"weaknesses":["CWE-24"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34151.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34151","state":"PUBLISHED","datePublished":"2026-09-14T17:12:18.814Z","dateUpdated":"2026-09-14T18:56:11.951Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-25T20:12:04.196Z"},"containers":{"cna":{"title":"XWiki Platform: Resource path traversal via /skin/ action endpoint in Jetty 12+","descriptions":[{"lang":"en","value":"XWiki Platform is a generic wiki platform. Prior to 17.10.5 and 18.2.0, the /skin/ action in com.xpn.xwiki.web.SkinAction can resolve double-encoded parent-directory segments outside the intended skin or web-application resource prefix when Jetty 12 or later decodes the request path. The affected lookup is replaced with Environment.getResourceAsStream(String, String), which constrains a resource to its expected prefix. An unauthenticated remote attacker can use the vulnerable behavior to read arbitrary resources permitted to the Jetty process, including WEB-INF/xwiki.cfg and, depending on deployment depth and operating-system permissions, host files. Tomcat and Jetty versions before 12 do not appear affected. This issue is fixed in versions 17.10.5 and 18.2.0."}],"affected":[{"vendor":"xwiki","product":"xwiki-platform","versions":[{"version":"< 17.10.5","status":"affected"},{"version":">= 18.0.0-rc-1, < 18.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj4x-9g63-25g6","name":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj4x-9g63-25g6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-commons/pull/1675","name":"https://github.com/xwiki/xwiki-commons/pull/1675","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/79eba8655f3a96021a8e7ad07956e48d20a82383","name":"https://github.com/xwiki/xwiki-platform/commit/79eba8655f3a96021a8e7ad07956e48d20a82383","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/f7b33704083d3b4e45d1b9fc1e2cc33c66855f85","name":"https://github.com/xwiki/xwiki-platform/commit/f7b33704083d3b4e45d1b9fc1e2cc33c66855f85","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5","name":"https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0","name":"https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XCOMMONS-3594","name":"https://jira.xwiki.org/browse/XCOMMONS-3594","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-24075","name":"https://jira.xwiki.org/browse/XWIKI-24075","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-24","lang":"en","description":"CWE-24: Path Traversal: '../filedir'","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-14T17:12:18.814Z"},"source":{"advisory":"GHSA-qj4x-9g63-25g6","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-14T18:56:04.582032Z","id":"CVE-2026-34151","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-14T18:56:11.951Z"}}]}}}