Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-webjars-api

PACKAGE
Advisory Identifier: GHSA-vgwr-23fq-pr7g
Advisory Summary

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

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.xwiki.platform/xwiki-platform-webjars-api

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-webjars-api. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-vgwr-23fq-pr7g CVE-2026-48047 MODERATE XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin
GHSA-qww7-89xh-x7m7 CVE-2025-55747 CRITICAL XWiki configuration files can be accessed through the webjars API

CVE-2026-48047 at a Glance

CVE Identifier CVE-2026-48047
GHSA Identifier GHSA-vgwr-23fq-pr7g
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-24: Path Traversal: '../filedir'
Affected Product Xwiki platform webjars api
Package Ecosystem Maven
Published Date
Last Updated

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.

org.xwiki.platform:xwiki-platform-webjars-api fixed: 16.10.17
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-webjars-api</artifactId>
    <version>16.10.17</version>
</dependency>
org.xwiki.platform:xwiki-platform-webjars-api fixed: 17.4.9
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-webjars-api</artifactId>
    <version>17.4.9</version>
</dependency>
org.xwiki.platform:xwiki-platform-webjars-api fixed: 17.10.3
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-webjars-api</artifactId>
    <version>17.10.3</version>
</dependency>
Verify Direct and Transitive Dependencies

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

### Impact A 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. ### Patches This vulnerability has been patched in XWiki 16.10.17, 17.4.9, 17.10.3, and 18.0.0RC1. ### Workarounds XWiki is not aware of any workarounds except for being careful whom developers grant script and admin rights to. ### Resources * https://jira.xwiki.org/browse/XWIKI-23902 * https://github.com/xwiki/xwiki-platform/commit/9f747fcd3200259a1de51957d3f5f6acc8e3816c

CVE-2026-48047 Affected Xwiki platform webjars api Versions

3 component(s)
Fixed Versions:
16.10.1717.4.917.10.3
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?
CVE-2026-48047 is a security vulnerability in Xwiki platform webjars api involving XWiki Platform vulnerable to potential arbitrary file writing using path traversal from (subwiki) admin under CWE-24: Path Traversal: '../filedir'.
Which Xwiki platform webjars api versions are affected?
Affected versions include releases prior to 16.10.17, 17.4.9, 17.10.3 across affected packages: org.xwiki.platform:xwiki-platform-webjars-api.
What version fixes CVE-2026-48047?
Upgrading to 16.10.17, 17.4.9, 17.10.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-webjars-api affected?
Yes, org.xwiki.platform:xwiki-platform-webjars-api is affected in releases prior to 16.10.17, 17.4.9, 17.10.3. Upgrade your dependency to 16.10.17, 17.4.9, 17.10.3 or later.
What CWE is associated with CVE-2026-48047?
CVE-2026-48047 is classified under CWE-24: Path Traversal: '../filedir' (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.).
How can I check Maven dependencies for CVE-2026-48047?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.xwiki.platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}