CVE-2025-55747
JSON

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 packageVersionsReported by
xwiki xwiki-platform>= 6.1-milestone-2, < 16.10.7CVE 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-1GitHub Advisory Database
org.xwiki.platform:xwiki-platform-webjars (Maven)from 6.1-miletone-2 up to 7.1.3GitHub Advisory Database
xwiki xwikifrom 6.2 before 16.10.7, from 17.0.0 up to 17.3.0, 6.1NVD

All scores

GitHub_M9.3critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-23

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
For more information

If you have any questions or comments about this advisory:

References

Sources

SourceRecordLicence
CVE ListCVE-2025-55747 changed 2025-09-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-qww7-89xh-x7m7 changed 2026-05-05CC-BY-4.0
NVDCVE-2025-55747 changed 2026-06-17Public domain