Vulnerabilities in pkg:maven/org.xwiki.platform/xwiki-platform-webjars
PACKAGECVE-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.
pkg:maven/org.xwiki.platform/xwiki-platform-webjars
Vulnerability advisories affecting package pkg:maven/org.xwiki.platform/xwiki-platform-webjars. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qww7-89xh-x7m7 | CVE-2025-55747 | CRITICAL | XWiki configuration files can be accessed through the webjars API |
CVE-2025-55747 at a Glance
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.
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-webjars-api</artifactId>
<version>16.10.7</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-webjars-api</artifactId>
<version>17.4.0-rc-1</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-webjars</artifactId>
<version>Latest secure release</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-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
CVE-2025-55747 Affected Xwiki platform webjars api Versions
3 component(s)| 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?
Which Xwiki platform webjars api versions are affected?
What version fixes CVE-2025-55747?
Is xwiki-platform-webjars-api affected?
Is xwiki-platform-webjars affected?
What CWE is associated with CVE-2025-55747?
How can I check Maven dependencies for CVE-2025-55747?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}