# CVE-2026-34151: XWiki Platform path traversal in skin action endpoint

Source: https://junglewise.ai/threats/cve-2026-34151-xwiki-platform-path-traversal-in-skin-action-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-14. Updated: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2026-34151 · Severity: high · CVSS 4 · Published 2026-09-14

XWiki is an open-source enterprise wiki platform. A security vulnerability in how it handles certain web requests when running on Jetty 12+ allows unauthorized users to access sensitive files on the server. This could lead to the exposure of system passwords or internal configuration files, potentially compromising the entire server or the application's data.

Technologies: [org.xwiki.platform:xwiki-platform-oldcore (Maven)](https://junglewise.ai/threats/technologies/org-xwiki-platform-xwiki-platform-oldcore). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven), [Xwiki](https://junglewise.ai/threats/vendors/xwiki).

## Quick answers

**Is CVE-2026-34151 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-34151 being exploited in the wild.

**How severe is CVE-2026-34151?** High severity, with a CVSS score of 4, published 14 September 2026.

**Which products and versions are affected?** org.xwiki.platform:xwiki-platform-oldcore (Maven) ECOSYSTEM:introduced=0,fixed=17.10.5; XWiki Platform Old Core < 17.10.5, >= 18.0.0-rc-1, < 18.2.0.

**Is there a fix for CVE-2026-34151?** Yes. org.xwiki.platform:xwiki-platform-oldcore (Maven): upgrade to 17.10.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-34151 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-34151?** Check whether you run org.xwiki.platform:xwiki-platform-oldcore (Maven) or XWiki Platform Old Core at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.xwiki.platform:xwiki-platform-oldcore (Maven): upgrade to 17.10.5 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-oldcore to 17.10.5 in your pom.xml or build.gradle
  ```


## Technical details

A path traversal vulnerability exists in XWiki Platform's 'Old Core' component when deployed on Jetty 12 or newer. The vulnerability is located in the '/skin/' action endpoint, where insufficient validation of the resource path allows an attacker to use double-encoded traversal sequences (e.g., '..%252f') to escape the intended directory. This can be exploited by a remote, unauthenticated attacker via a specially crafted URL to read any file the Jetty process has permissions to access, including sensitive system files like '/etc/passwd' or XWiki configuration files like 'xwiki.cfg'. The issue is patched in versions 17.10.5 and 18.2.0; users on older versions can mitigate the risk by using Tomcat or Jetty versions prior to 12.

## Affected products

- XWiki XWiki Platform Old Core < 17.10.5, >= 18.0.0-rc-1, < 18.2.0

## Identifiers

- CVE-2026-34151
- GHSA-qj4x-9g63-25g6

## Timeline

- 2026-07-06: disclosed
- 2026-07-07: advisory

## References

- [https://api.github.com/users/khoaln98](https://api.github.com/users/khoaln98)
- [https://github.com/khoaln98](https://github.com/khoaln98)
- [https://api.github.com/users/khoaln98/gists%7B/gist_id%7D](https://api.github.com/users/khoaln98/gists%7B/gist_id%7D)
- [https://api.github.com/users/khoaln98/repos](https://api.github.com/users/khoaln98/repos)
- [https://avatars.githubusercontent.com/u/132698271?v=4](https://avatars.githubusercontent.com/u/132698271?v=4)
- [https://api.github.com/users/khoaln98/events%7B/privacy%7D](https://api.github.com/users/khoaln98/events%7B/privacy%7D)

## Related threats

- [XWiki's REST APIs can list all pages/spaces, leading to unavailability](https://junglewise.ai/threats/cve-2026-40104-xwiki-s-rest-apis-can-list-all-pages-spaces-leading-to)
- [XWiki Platform sandbox bypass in Velocity scripting API](https://junglewise.ai/threats/cve-2026-33229-xwiki-platform-sandbox-bypass-in-velocity-scripting-api)
- [XWiki exposes passwords and emails stored in fields not named password/email in xml.vm](https://junglewise.ai/threats/cve-2025-54125-xwiki-exposes-passwords-and-emails-stored-in-fields-not-named)
- [XWiki leaks password hashes and other accessible password properties](https://junglewise.ai/threats/cve-2025-54124-xwiki-leaks-password-hashes-and-other-accessible-password)
- [XWiki Platform vulnerable to SQL injection through XWiki#searchDocuments API](https://junglewise.ai/threats/cve-2025-54385-xwiki-platform-vulnerable-to-sql-injection-through-xwiki)
