9.3critical
XWiki Platform's configuration files can be accessed through the webjars API
- Severity
- 9.3critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 3.08% (higher than 88% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qww7-89xh-x7m7
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions 6.1-milestone-2 through 16.10.6, configuration files are accessible through the webjars API. This is fixed in version 16.10.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xwiki xwiki-platform | >= 6.1-milestone-2, < 16.10.7 | CVE List |
| org.xwiki.platform:xwiki-platform-webjars-api (Maven) | from 7.1.4 before 16.10.7, from 17.0.0-rc-1 before 17.4.0-rc-1 | GitHub Advisory Database |
| org.xwiki.platform:xwiki-platform-webjars (Maven) | from 6.1-miletone-2 up to 7.1.3 | GitHub Advisory Database |
| xwiki xwiki | from 6.2 before 16.10.7, from 17.0.0 up to 17.3.0, 6.1 | NVD |
All scores
| GitHub_M | 9.3critical CVSS:4.0 | 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 |
| GitHub | critical CVSS:4.0 | 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 |
| NVD | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In versions 6.1-milestone-2 through 16.10.6, configuration files are accessible through the webjars API. This is fixed in version 16.10.7.
GitHub Advisory Database
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
- Email us at Security Mailing List
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-55747 changed 2025-09-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qww7-89xh-x7m7 changed 2026-05-05 | CC-BY-4.0 |
| NVD | CVE-2025-55747 changed 2026-06-17 | Public domain |