GHSA-22q5-9phm-744v
XWiki allows unregistered users to access private pages information through REST endpoint
Quick fix
GHSA-22q5-9phm-744v — org.xwiki.platform:xwiki-platform-rest-server: upgrade to the fixed version with the command below.
# pom.xml: bump <version>15.10.14</version> for org.xwiki.platform:xwiki-platform-rest-serverDetails
### Impact
Protected pages are listed when requesting the REST endpoints `/rest/wikis/[wikiName]/pages` even if the user doesn't have view rights on them. It's particularly true if the entire wiki is protected with "Prevent unregistered user to view pages": the endpoint would still list the pages of the wiki (actually it only impacts the main wiki due to XWIKI-22639).
### Patches
The problem has been patched in XWiki 15.10.14, 16.4.6, 16.10.0RC1. In those versions the endpoint can still be requested but the result is filtered out based on pages rights.
### Workarounds
There's no workaround except upgrading or applying manually the changes of the commits (see references) in `xwiki-platform-rest-server` and recompiling / rebuilding it.
### References
* Original JIRA ticket: https://jira.xwiki.org/browse/XWIKI-22630 * Related JIRA ticket: https://jira.xwiki.org/browse/XWIKI-22639 * Commits of the patch: https://github.com/xwiki/xwiki-platform/commit/bca72f5ce971a31dba2a016d8dd8badda4475206 and https://github.com/xwiki/xwiki-platform/commit/1fb12d2780f37b34a1b4dfdf8457d97ce5cbb2df
### For more information
If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)
Are you affected?
Enter the version of the package you're using.
Affected packages
1.9M1Fixed in: 15.10.14# pom.xml: bump <version>15.10.14</version> for org.xwiki.platform:xwiki-platform-rest-server16.0.0-rc-1Fixed in: 16.4.6# pom.xml: bump <version>16.4.6</version> for org.xwiki.platform:xwiki-platform-rest-server16.5.0-rc-1Fixed in: 16.10.0-rc-1# pom.xml: bump <version>16.10.0-rc-1</version> for org.xwiki.platform:xwiki-platform-rest-serverReferences
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-22q5-9phm-744v[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-29925[ADVISORY]
- https://github.com/xwiki/xwiki-platform/commit/1fb12d2780f37b34a1b4dfdf8457d97ce5cbb2df[WEB]
- https://github.com/xwiki/xwiki-platform/commit/bca72f5ce971a31dba2a016d8dd8badda4475206[WEB]
- https://github.com/xwiki/xwiki-platform[PACKAGE]
- https://jira.xwiki.org/browse/XWIKI-22630[WEB]
- https://jira.xwiki.org/browse/XWIKI-22639[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.xwiki.platform/xwiki-platform-rest-server"]}'