# CVE-2026-34151: XWiki Platform: Resource path traversal via /skin/ action endpoint in Jetty 12+

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: High; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.47% (percentile 85, 2026-11-26)
- **CWE:** CWE-24
- **Aliases:** GHSA-qj4x-9g63-25g6
- **Published:** 2026-07-07T13:01:21.000Z
- **Modified:** 2026-09-30T19:57:08.043Z

## Who should check

- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-oldcore (\< 17.10.5)
- Anyone running xwiki-platform \< 17.10.5; \>= 18.0.0-rc-1, \< 18.2.0

## 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.

## Affected and fixed versions

- Maven `org.xwiki.platform:xwiki-platform-oldcore`: affected \< 17.10.5; fixed 17.10.5, 18.2.0 (osv)
- xwiki-platform: \< 17.10.5; \>= 18.0.0-rc-1, \< 18.2.0 (cvelist)

## Mitigation

- Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 17.10.5, 18.2.0 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-34151. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-34151.md
Affected: org.xwiki.platform:xwiki-platform-oldcore < 17.10.5
Fixed in: 17.10.5, 18.2.0

Steps:
1. Search this machine and project for org.xwiki.platform:xwiki-platform-oldcore (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-34151 being exploited?

There is no confirmed exploitation: CVE-2026-34151 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.47% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-34151?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-34151?

org.xwiki.platform:xwiki-platform-oldcore \< 17.10.5.

### Is there a fix for CVE-2026-34151?

Yes. Fixed in 17.10.5, 18.2.0. Upgrade org.xwiki.platform:xwiki-platform-oldcore to one of 17.10.5, 18.2.0 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-34151?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj4x-9g63-25g6>
- patch: <https://github.com/xwiki/xwiki-commons/pull/1675>
- patch: <https://github.com/xwiki/xwiki-platform/commit/79eba8655f3a96021a8e7ad07956e48d20a82383>
- patch: <https://github.com/xwiki/xwiki-platform/commit/f7b33704083d3b4e45d1b9fc1e2cc33c66855f85>
- other: <https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-17.10.5>
- other: <https://github.com/xwiki/xwiki-platform/releases/tag/xwiki-platform-18.2.0>
- other: <https://jira.xwiki.org/browse/XCOMMONS-3594>
- other: <https://jira.xwiki.org/browse/XWIKI-24075>
- other: <https://github.com/xwiki/xwiki-platform>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-34151>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-qj4x-9g63-25g6> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-34151> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-34151>
