CVE-2025-55747: Xwiki platform webjars api XWiki Configuration Files Can Be Vulnerability

CRITICAL
Advisory Identifier: GHSA-qww7-89xh-x7m7
CWE-23
Published
Advisory Summary

CVE-2025-55747 is a CRITICAL xwiki configuration files can be vulnerability (CWE-23: Relative Path Traversal) affecting Xwiki platform webjars api libraries in the Maven ecosystem. The issue involves xwiki configuration files can be accessed through the webjars api. Remediation is available by upgrading affected packages to version 16.10.7, 17.4.0-rc-1.

CVE-2025-55747 at a Glance

CVE Identifier CVE-2025-55747
GHSA Identifier GHSA-qww7-89xh-x7m7
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-23: Relative Path Traversal
Affected Product Xwiki platform webjars api
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-55747

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.7
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-webjars-api</artifactId>
    <version>16.10.7</version>
</dependency>
org.xwiki.platform:xwiki-platform-webjars-api fixed: 17.4.0-rc-1
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-webjars-api</artifactId>
    <version>17.4.0-rc-1</version>
</dependency>
org.xwiki.platform:xwiki-platform-webjars fixed: Latest secure release
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-webjars</artifactId>
    <version>Latest secure release</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-2025-55747, 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.7), 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-23: Relative Path Traversal, where the product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." 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 It's possible to get access and read configuration files by using URLs such as http://localhost:8080/xwiki/webjars/wiki%3Axwiki/..%2F..%2F..%2F..%2F..%2FWEB-INF%2Fxwiki.cfg. The trick here is to encode the / which is decoded when parsing the URL segment, but not re-encoded when assembling the file path. ### Patches This has been patched in 17.4.0-rc-1, 16.10.7. ### Workarounds There is no known workaround, other than upgrading XWiki. ### References * https://jira.xwiki.org/browse/XWIKI-19350 * https://github.com/xwiki/xwiki-platform/commit/9e7b4c03f2143978d891109a17159f73d4cdd318#diff-45ea9c87d5fb68cd5db0da7f78cf25e76f1325f5fe56e21618b21786fc706236R80-R81 ### For more information If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)

CVE-2025-55747 Affected Xwiki platform webjars api Versions

3 component(s)
Fixed Versions:
16.10.717.4.0-rc-1
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-webjars-api
Maven
≥ 7.1.4
< 16.10.7
16.10.7
org.xwiki.platform:xwiki-platform-webjars-api
Maven
≥ 17.0.0-rc-1
< 17.4.0-rc-1
17.4.0-rc-1
org.xwiki.platform:xwiki-platform-webjars
Maven
≥ 6.1-miletone-2
≤ 7.1.3

References

Frequently Asked Questions

What is CVE-2025-55747?
CVE-2025-55747 is a security vulnerability in Xwiki platform webjars api involving XWiki configuration files can be accessed through the webjars API under CWE-23: Relative Path Traversal.
Which Xwiki platform webjars api versions are affected?
Affected versions include releases prior to 16.10.7, 17.4.0-rc-1 across affected packages: org.xwiki.platform:xwiki-platform-webjars-api, org.xwiki.platform:xwiki-platform-webjars.
What version fixes CVE-2025-55747?
Upgrading to 16.10.7, 17.4.0-rc-1 (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.7, 17.4.0-rc-1. Upgrade your dependency to 16.10.7, 17.4.0-rc-1 or later.
Is xwiki-platform-webjars affected?
Yes, org.xwiki.platform:xwiki-platform-webjars is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-55747?
CVE-2025-55747 is classified under CWE-23: Relative Path Traversal (The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.).
How can I check Maven dependencies for CVE-2025-55747?
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-qww7-89xh-x7m7",
  "modified" : "2026-05-04T23:17:28Z",
  "published" : "2025-09-03T17:42:51Z",
  "aliases" : [ "CVE-2025-55747" ],
  "summary" : "XWiki configuration files can be accessed through the webjars API",
  "details" : "### Impact\n\nIt's possible to get access and read configuration files by using URLs such as http://localhost:8080/xwiki/webjars/wiki%3Axwiki/..%2F..%2F..%2F..%2F..%2FWEB-INF%2Fxwiki.cfg. The trick here is to encode the / which is decoded when parsing the URL segment, but not re-encoded when assembling the file path.\n\n### Patches\n\nThis has been patched in 17.4.0-rc-1, 16.10.7.\n\n### Workarounds\n\nThere is no known workaround, other than upgrading XWiki.\n\n### References\n\n* https://jira.xwiki.org/browse/XWIKI-19350\n* https://github.com/xwiki/xwiki-platform/commit/9e7b4c03f2143978d891109a17159f73d4cdd318#diff-45ea9c87d5fb68cd5db0da7f78cf25e76f1325f5fe56e21618b21786fc706236R80-R81\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-webjars-api"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.1.4"
      }, {
        "fixed" : "16.10.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-webjars-api"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "17.0.0-rc-1"
      }, {
        "fixed" : "17.4.0-rc-1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-webjars"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.1-miletone-2"
      }, {
        "last_affected" : "7.1.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qww7-89xh-x7m7"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-55747"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/commit/9e7b4c03f2143978d891109a17159f73d4cdd318#diff-45ea9c87d5fb68cd5db0da7f78cf25e76f1325f5fe56e21618b21786fc706236R80-R81"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki/xwiki-platform"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/XWIKI-19350"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-23" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-03T17:42:51Z",
    "nvd_published_at" : "2025-09-03T21:15:31Z"
  }
}