CVE-2025-55747: XWiki configuration files can be accessed through the webjars API
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.
Published Sep 3, 2025 · Updated May 4, 2026
Affected packages
org.xwiki.platform:xwiki-platform-webjars-api
- Ecosystem
- Maven
- Affected
- >= 7.1.4, < 16.10.7
- Fixed in
- 16.10.7
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-webjars-api
org.xwiki.platform:xwiki-platform-webjars-api
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.4.0-rc-1
- Fixed in
- 17.4.0-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-webjars-api
org.xwiki.platform:xwiki-platform-webjars
- Ecosystem
- Maven
- Affected
- >= 6.1-miletone-2, <= 7.1.3
- Fixed in
- No patched version yet
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-webjars
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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](mailto:[email protected])
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-qww7-89xh-x7m7
- https://github.com/xwiki/xwiki-platform/commit/9e7b4c03f2143978d891109a17159f73d4cdd318#diff-45ea9c87d5fb68cd5db0da7f78cf25e76f1325f5fe56e21618b21786fc706236R80-R81
- https://jira.xwiki.org/browse/XWIKI-19350
- https://nvd.nist.gov/vuln/detail/CVE-2025-55747
- https://github.com/advisories/GHSA-qww7-89xh-x7m7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
