CVE-2026-48047: Xwiki platform webjars api Path Traversal Vulnerability
MODERATECVE-2026-48047 is a MODERATE path traversal vulnerability (CWE-24: Path Traversal: '../filedir') affecting Xwiki platform webjars api libraries in the Maven ecosystem. The issue involves xwiki platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin. Remediation is available by upgrading affected packages to version 16.10.17, 17.4.9, 17.10.3.
CVE-2026-48047 at a Glance
How to Fix CVE-2026-48047
To remediate this vulnerability, upgrade all affected Xwiki platform webjars api 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-webjars-api</artifactId>
<version>16.10.17</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-webjars-api</artifactId>
<version>17.4.9</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-webjars-api</artifactId>
<version>17.10.3</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-48047, 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 webjars api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.10.17), 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 webjars api, 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-48047 Affected Xwiki platform webjars api Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.xwiki.platform:xwiki-platform-webjars-api
|
Maven |
≥ 9.6-rc-1
< 16.10.17
|
16.10.17
|
|
org.xwiki.platform:xwiki-platform-webjars-api
|
Maven |
≥ 17.0.0-rc-1
< 17.4.9
|
17.4.9
|
|
org.xwiki.platform:xwiki-platform-webjars-api
|
Maven |
≥ 17.5.0-rc-1
< 17.10.3
|
17.10.3
|
References
Frequently Asked Questions
What is CVE-2026-48047?
Which Xwiki platform webjars api versions are affected?
What version fixes CVE-2026-48047?
Is xwiki-platform-webjars-api affected?
What CWE is associated with CVE-2026-48047?
How can I check Maven dependencies for CVE-2026-48047?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-vgwr-23fq-pr7g",
"modified" : "2026-05-26T19:33:44Z",
"published" : "2026-05-26T19:33:44Z",
"aliases" : [ "CVE-2026-48047" ],
"summary" : "XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin",
"details" : "### Impact\nA potential path traversal vulnerability allow an attacker who manages to get a malicious WebJar extension installed on the wiki to write arbitrary files. While the consequences could be severe like overriding configuration files and setting the superadmin password, the attack first requires that the attacker already has admin access to at least a subwiki to be able to install a malicious extension. Further, the attacker needs to publish a malicious extension in an extension repository that is configured in the instance.\n\n### Patches\nThis vulnerability has been patched in XWiki 16.10.17, 17.4.9, 17.10.3, and 18.0.0RC1.\n\n### Workarounds\nXWiki is not aware of any workarounds except for being careful whom developers grant script and admin rights to.\n\n### Resources\n* https://jira.xwiki.org/browse/XWIKI-23902\n* https://github.com/xwiki/xwiki-platform/commit/9f747fcd3200259a1de51957d3f5f6acc8e3816c",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-webjars-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.6-rc-1"
}, {
"fixed" : "16.10.17"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-webjars-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0-rc-1"
}, {
"fixed" : "17.4.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-webjars-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.5.0-rc-1"
}, {
"fixed" : "17.10.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vgwr-23fq-pr7g"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/9f747fcd3200259a1de51957d3f5f6acc8e3816c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xwiki/xwiki-platform"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-23902"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-24" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-26T19:33:44Z",
"nvd_published_at" : null
}
}