CVE-2025-29925: XWiki allows unregistered users to access private pages information through REST endpoint
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).
Published Mar 19, 2025
Affected packages
org.xwiki.platform:xwiki-platform-rest-server
- Ecosystem
- Maven
- Affected
- >= 1.9M1, < 15.10.14
- Fixed in
- 15.10.14
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-rest-server
org.xwiki.platform:xwiki-platform-rest-server
- Ecosystem
- Maven
- Affected
- >= 16.0.0-rc-1, < 16.4.6
- Fixed in
- 16.4.6
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-rest-server
org.xwiki.platform:xwiki-platform-rest-server
- Ecosystem
- Maven
- Affected
- >= 16.5.0-rc-1, < 16.10.0-rc-1
- Fixed in
- 16.10.0-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-rest-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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
- Email us at [Security Mailing List](mailto:[email protected])
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-22q5-9phm-744v
- https://nvd.nist.gov/vuln/detail/CVE-2025-29925
- https://github.com/xwiki/xwiki-platform/commit/1fb12d2780f37b34a1b4dfdf8457d97ce5cbb2df
- https://github.com/xwiki/xwiki-platform/commit/bca72f5ce971a31dba2a016d8dd8badda4475206
- https://jira.xwiki.org/browse/XWIKI-22630
- https://jira.xwiki.org/browse/XWIKI-22639
- https://github.com/advisories/GHSA-22q5-9phm-744v
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
More Maven vulnerabilities
All Maven entriesCVE-2026-61689
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
high8.8Nov 19, 2026CVE-2026-33137
XWiki Platform has an Unauthenticated XAR Import via REST /wikis/{wikiName}
critical9.3May 26, 2026CVE-2025-66473
XWiki's REST APIs don't enforce any limits, leading to unavailability and OOM in large wikis
high8.7Dec 10, 2025CVE-2025-52472
XWiki Platform is vulnerable to HQL injection via wiki and space search REST API
critical9.3Oct 6, 2025CVE-2025-49584
XWiki makes title of inaccessible pages available through the class property values REST API
high8.7Jun 13, 2025CVE-2025-46554
XWiki missing authorization when accessing the wiki level attachments list and metadata via REST API
medium5.3Apr 30, 2025
