Summary
CVE-2026-34151 is a path traversal vulnerability (CWE-24) in XWiki Platform’s /skin/ action endpoint that allows an unauthenticated remote attacker to read arbitrary files accessible to the application server process. The flaw affects XWiki Platform deployments running on Jetty 12 or later and carries a CVSS v3.1/v4.0 base score of 8.2 (High). It is fixed in XWiki Platform 17.10.5 and 18.2.0.
Technical details
- Root cause: the
/skin/action, handled bycom.xpn.xwiki.web.SkinAction, resolves resource paths in a way that can be tricked into escaping the intended skin or web-application resource prefix when parent-directory segments are double-encoded. - Trigger condition: the issue only manifests when XWiki is deployed on Jetty 12 or later, because that version decodes the request path in a way that allows the double-encoded
../sequences to survive traversal checks; Jetty versions before 12 and Tomcat do not appear affected. - Attack vector: unauthenticated, network-based — an attacker sends a crafted HTTP request to the
/skin/endpoint containing double-encoded parent-directory sequences (e.g.,..%252f). - Impact: arbitrary file read of resources accessible to the Jetty process, including internal configuration files such as
WEB-INF/xwiki.cfg, and potentially host files outside the web application directory depending on deployment depth and operating system permissions. No integrity or availability impact is reported. - Fix approach: the vulnerable lookup was replaced with
Environment.getResourceAsStream(String, String), which constrains resource resolution to the expected prefix.
Affected software
- XWiki Platform versions prior to 17.10.5
- XWiki Platform versions 18.0.0-rc-1 up to (but not including) 18.2.0
- Only deployments running on Jetty 12 or later are exploitable via this issue
Severity
- CVSS score: 8.2 (High)
- CVSS v4.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
Mitigation and recommended actions
- Immediate: Upgrade XWiki Platform to version 17.10.5 or 18.2.0 (or later), which replace the vulnerable resource lookup.
- If immediate patching is not possible: run XWiki on Jetty versions prior to 12, or on Apache Tomcat, since these are not reported as affected; additionally, monitor and restrict access to the
/skin/endpoint for requests containing encoded parent-directory traversal sequences as a temporary compensating control.

