CVE-2026-34151
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.
How to fix
- org.xwiki.platform:xwiki-platform-oldcore17.10.5, 18.2.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-oldcoreMaven | v < 17.10.5, 18.0.0-rc-1 ≤ v < 18.2.0 | 17.10.5, 18.2.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.