Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-oldcore
PACKAGECVE-2026-34151 is a HIGH remote code execution vulnerability (CWE-24: Path Traversal: '../filedir') affecting XWiki Platform Old Core libraries in the Maven ecosystem. The issue involves resource path traversal via /skin/ action endpoint in jetty 12+. Remediation is available by upgrading affected packages to version 17.10.5, 18.2.0.
pkg:maven/org.xwiki.platform/xwiki-platform-oldcore
Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-oldcore. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qj4x-9g63-25g6 | CVE-2026-34151 | HIGH | XWiki Platform Old Core: Resource path traversal via /skin/ action endpoint in Jetty 12+ |
| GHSA-mrqg-xmgm-rc5g | CVE-2026-40104 | MODERATE | XWiki's REST APIs can list all pages/spaces, leading to unavailability |
| GHSA-h259-74h5-4rh9 | CVE-2026-33229 | HIGH | XWiki vulnerable to remote code execution with script right through unprotected Velocity scripting API |
| GHSA-prwh-7838-xf82 | CVE-2024-56158 | CRITICAL | XWiki allows SQL injection in query endpoint of REST API with Oracle |
| GHSA-57q2-6cp4-9mq3 | CVE-2025-54125 | HIGH | XWiki exposes passwords and emails stored in fields not named password/email in xml.vm |
| GHSA-r38m-cgpg-qj69 | CVE-2025-54124 | HIGH | XWiki leaks password hashes and other accessible password properties |
| GHSA-p9qm-p942-q3w5 | CVE-2025-54385 | HIGH | XWiki Platform vulnerable to SQL injection through XWiki#searchDocuments API |
| GHSA-jp4x-w9cj-97q7 | CVE-2025-49586 | HIGH | XWiki allows remote code execution through preview of XClass changes in AWM editor |
| GHSA-g9jj-75mx-wjcx | CVE-2025-32968 | HIGH | org.xwiki.platform:xwiki-platform-oldcore allows SQL injection in short form select requests through the script query API |
| GHSA-pwfv-3cvg-9m4c | CVE-2023-29507 | CRITICAL | org.xwiki.platform:xwiki-platform-oldcore makes Incorrect Use of Privileged APIs with DocumentAuthors |
| GHSA-j584-j2vj-3f93 | CVE-2024-37899 | CRITICAL | XWiki Platform allows remote code execution from user account |
| GHSA-wcg9-pgqv-xm5v | CVE-2024-43400 | CRITICAL | XWiki Platform allows XSS through XClass name in string properties |
| GHSA-33gp-gmg3-hfpq | CVE-2024-37898 | MODERATE | XWiki Platform vulnerable to document deletion and overwrite from edit |
| GHSA-cv55-v6rw-7r5v | CVE-2024-31987 | CRITICAL | XWiki Platform remote code execution from account via custom skins support |
| GHSA-vxwr-wpjv-qjq7 | CVE-2024-31981 | CRITICAL | XWiki Platform: Privilege escalation (PR) from user registration through PDFClass |
| GHSA-v782-xr4w-3vqx | CVE-2024-31464 | MODERATE | XWiki Platform: Password hash might be leaked by diff once the xobject holding them is deleted |
| GHSA-h5jm-jjgx-q2wf | CVE-2006-7223 | MODERATE | XWiki Remote Code Execution |
| GHSA-xh35-w7wg-95v3 | CVE-2024-21648 | HIGH | XWiki has no right protection on rollback action |
| GHSA-g2qq-c5j9-5w5w | CVE-2023-46243 | HIGH | XWiki Platform vulnerable to privilege escalation and remote code execution via the edit action |
| GHSA-hgpw-6p4h-j6h5 | CVE-2023-46242 | CRITICAL | XWiki Platform vulnerable to remote code execution via the edit action because it lacks CSRF token |
| GHSA-gh64-qxh5-4m33 | CVE-2023-37911 | MODERATE | org.xwiki.platform:xwiki-platform-oldcore may leak data through deleted and re-created documents |
| GHSA-m5m2-h6h9-p2c8 | CVE-2023-41046 | MODERATE | Velocity execution without script right through VelocityCode and VelocityWiki property |
| GHSA-4f8m-7h83-9f6m | CVE-2023-40572 | HIGH | XWiki Platform vulnerable to CSRF privilege escalation/RCE via the create action |
| GHSA-8q9q-r9v2-644m | CVE-2023-36468 | CRITICAL | Upgrading doesn't prevent exploiting vulnerable XWiki documents |
| GHSA-phwm-87rg-27qq | CVE-2023-35157 | HIGH | XWiki Platform vulnerable to reflected cross-site scripting via delattachment action |
| GHSA-6gvj-8vc5-8v3j | CVE-2023-32068 | MODERATE | org.xwiki.platform:xwiki-platform-oldcore Open Redirect vulnerability |
| GHSA-xwph-x6xj-wggv | CVE-2023-29204 | MODERATE | org.xwiki.platform:xwiki-platform-oldcore Open Redirect vulnerability |
| GHSA-gpq5-7p34-vqx5 | CVE-2023-29526 | CRITICAL | XWiki Platform's async and display macro allow displaying and interacting with any document in restricted mode |
| GHSA-x764-ff8r-9hpx | CVE-2023-29523 | CRITICAL | XWiki Platform vulnerable to code injection in display method used in user profiles |
| GHSA-4f8g-fq6x-jqrr | CVE-2023-29208 | HIGH | org.xwiki.platform:xwiki-platform-oldcore vulnerable to data leak through deleted documents |
| GHSA-92wp-r7hm-42g7 | CVE-2023-26470 | MODERATE | XWiki Platform subject to Uncontrolled Resource Consumption |
| GHSA-3738-p9x3-mv9r | CVE-2023-26474 | CRITICAL | XWiki Platform vulnerable to privilege escalation via properties with wiki syntax that are executed with wrong author |
| GHSA-4x5r-6v26-7j4v | CVE-2022-41932 | HIGH | Creation of new database tables through login form on PostgreSQL |
| GHSA-2gj2-vj98-j2qq | CVE-2022-41929 | MODERATE | Missing Authorization in User#setDisabledStatus in org.xwiki.platform:xwiki-platform-oldcore |
| GHSA-g4h6-qp44-wqvx | CVE-2022-31166 | HIGH | XWiki.WebHome vulnerable to Improper Privilege Management in XWiki resolving groups |
| GHSA-jgc8-gvcx-9vfx | CVE-2022-36090 | HIGH | XWiki Platform Improper Authorization check for inactive users |
| GHSA-8h89-34w2-jpfm | CVE-2022-36092 | HIGH | XWiki Platform Old Core vulnerable to Authentication Bypass Using the Login Action |
| GHSA-9qrp-h7fw-42hg | CVE-2022-29253 | LOW | Path Traversal in XWiki Platform |
| GHSA-f4cj-3q3h-884r | CVE-2022-23615 | MODERATE | Partial authorization bypass on document save in xwiki-platform |
| GHSA-9jq9-c2cv-pcrj | CVE-2021-43841 | MODERATE | Cross-site Scripting by SVG upload in xwiki-platform |
| GHSA-2jhm-qp48-hv5j | CVE-2022-23621 | MODERATE | Missing authorization in xwiki-platform |
| GHSA-jp55-vvmf-63mv | CVE-2022-23618 | MODERATE | URL Redirection to Untrusted Site ('Open Redirect') |
| GHSA-gf7x-2j2x-7f73 | CVE-2022-23617 | MODERATE | Missing authorization in xwiki-platform |
| GHSA-7qw5-pqhc-xm4g | CVE-2020-15171 | LOW | Users with SCRIPT right can execute arbitrary code in XWiki |
| GHSA-5hv6-mh8q-q9v8 | CVE-2020-15252 | HIGH | RCE in XWiki |
| GHSA-5c66-v29h-xjh8 | CVE-2021-29459 | CRITICAL | XSS Cross Site Scripting |
CVE-2026-34151 at a Glance
How to Fix CVE-2026-34151
To remediate this vulnerability, upgrade all affected XWiki Platform Old Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-oldcore</artifactId>
<version>17.10.5</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-oldcore</artifactId>
<version>18.2.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.xwiki.platform
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2026-34151, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.xwiki.platform
Analyze the terminal output to locate any version of XWiki Platform Old Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 17.10.5), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-24: Path Traversal: '../filedir', where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize "../" sequences that can resolve to a location that is outside of that directory. In XWiki Platform Old Core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-34151 Affected XWiki Platform Old Core Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.xwiki.platform:xwiki-platform-oldcore
|
Maven |
< 17.10.5
|
17.10.5
|
|
org.xwiki.platform:xwiki-platform-oldcore
|
Maven |
≥ 18.0.0-rc-1
< 18.2.0
|
18.2.0
|
References
Frequently Asked Questions
What is CVE-2026-34151?
Which XWiki Platform Old Core versions are affected?
What version fixes CVE-2026-34151?
Is xwiki-platform-oldcore affected?
What CWE is associated with CVE-2026-34151?
How can I check Maven dependencies for CVE-2026-34151?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qj4x-9g63-25g6",
"modified" : "2026-07-07T13:01:22Z",
"published" : "2026-07-07T13:01:21Z",
"aliases" : [ "CVE-2026-34151" ],
"summary" : "XWiki Platform Old Core: Resource path traversal via /skin/ action endpoint in Jetty 12+",
"details" : "### Impact\n\nWith Jetty 12+ a user can craft a URL to access any resource the Jetty instance is allowed to access.\n\nFor example `http://[host]/xwiki/bin/skin/..%252f/..%252f..%252f..%252f..%252f..%252f..%252f..%252fetc/passwd` allows downloading the content of the /etc/passwd file, provided Jetty is allowed to read it, and if your XWiki webapp is located exactly 5 levels below `/` (like `/var/lib/jetty/webapps/xwiki`, which is the case in the docker image, for example).\n\nAnother example which does not go out of the XWiki webapp, but it's still a vulnerability (since users should not be allowed to access Hibernate or XWiki configuration files) is `http://[host]/xwiki/bin/skin/..%252f/..%252fWEB-INF/xwiki.cfg`.\n\n### Patches\n\nThis vulnerability has been patched in XWiki 17.10.5 and 18.2.0.\n\n### Workarounds\n\nA possible workaround is to use a different application server, like Jetty < 12 (in the case of XWiki < 17) or Tomcat, which don't seem to be impacted.\n\n### Resources\n\n* https://jira.xwiki.org/browse/XWIKI-24075\n* https://jira.xwiki.org/browse/XCOMMONS-3594\n\n### For more information\n\nIf there are any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Send an email to the [Security Mailing List](mailto:security@xwiki.org)\n\n### Attribution\n\n Lê Ngọc Khoa reported the vulnerability.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-oldcore"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "17.10.5"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-oldcore"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "18.0.0-rc-1"
}, {
"fixed" : "18.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qj4x-9g63-25g6"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-commons/pull/1675"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xwiki/xwiki-platform"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XCOMMONS-3594"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-24075"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-24" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-07T13:01:21Z",
"nvd_published_at" : null
}
}