CVE-2026-23734
XWiki Platform has path traversal via resources parameter in ssx and jsx endpoints when using leading slash
Description
Impact
It's possible to get access and read configuration files by using URLs such as http://localhost:8080/bin/ssx/Main/WebHome?resource=/../../WEB-INF/xwiki.cfg&minify=false.
This can apparently be reproduced on Tomcat instances.
Patches
This has been patched in 18.0.0-rc-1, 17.10.3, 17.4.9, 16.10.17.
Workarounds
There is no known workaround, other than upgrading XWiki.
References
- https://jira.xwiki.org/browse/XCOMMONS-3547
- https://github.com/xwiki/xwiki-commons/commit/a979cafd89f6a9c9c0b9ab19744d672df64429bf
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
Attribution
The vulnerability was reported by Michał Kołek.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.commons » xwiki-commons-classloader-api | >= 4.2-milestone-2, < 16.10.17>= 17.0.0-rc-1, < 17.4.9>= 17.5.0, < 17.10.3>= 18.0.0-rc-1, < 18.1.0-rc-1 | 16.10.17, 17.4.9, 17.10.3, 18.1.0-rc-1 |
Blast radius
68% of the dependent artifacts (830) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 3,964 |
| 2 hops | 46,763 |
| 3 hops | 63,285 |
| 4 hops | 20,771 |
| 5 hops | 2,476 |
| 6 hops | 402 |
Most used dependents
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.xwiki.platform » xwiki-platform-rendering-macro-velocity175 usages
- org.xwiki.platform » xwiki-platform-bridge150 usages
- org.xwiki.rendering » xwiki-rendering-macro-html145 usages
- org.xwiki.rendering » xwiki-rendering-api106 usages
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- org.xwiki.rendering » xwiki-rendering-test94 usages
- org.xwiki.platform » xwiki-platform-rest-server85 usages
- org.xwiki.platform » xwiki-platform-tool-packager-plugin77 usages
- org.xwiki.platform » xwiki-platform-administration-ui75 usages
- org.xwiki.commons » xwiki-commons-extension-api75 usages
- org.xwiki.platform » xwiki-platform-rendering-macro-include74 usages
- org.xwiki.platform » xwiki-platform-test-page72 usages
- org.xwiki.platform » xwiki-platform-test-oldcore71 usages
- org.xwiki.platform » xwiki-platform-query-manager71 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-23734 | nvd.nist.gov |
| Package | xwiki/xwiki-commons | github.com |
| Web | xwiki/xwiki-commons advisory GHSA-xq3r-2qv5-vqqm | github.com |
| Web | xwiki/xwiki-commons commit a979caf | github.com |
| Web | browse/XCOMMONS-3547 | jira.xwiki.org |
