CVE-2025-29924
XWiki uses the wrong wiki reference in AuthorizationManager
Description
Impact
It's possible for an user to get access to private information through the REST API - but could also be through another API - when a sub wiki is using "Prevent unregistered users to view pages". The vulnerability only affects subwikis, and it only concerns specific right options such as "Prevent unregistered users to view pages". or "Prevent unregistered users to edit pages".
It's possible to detect the vulnerability by enabling "Prevent unregistered users to view pages" and then trying to access a page through the REST API without using any credentials.
Patches
The vulnerability has been patched in XWiki 15.10.14, 16.4.6 and 16.10.0RC1.
Workarounds
There's no workaround.
References
- JIRA ticket: https://jira.xwiki.org/browse/XWIKI-22640
- Commit of the fix: https://github.com/xwiki/xwiki-platform/commit/5f98bde87288326cf5787604e2bb87836875ed0e
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
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform » xwiki-platform-security-authorization-api | >= 6.1-rc-1, < 15.10.14>= 16.0.0-rc-1, < 16.4.6>= 16.5.0-rc-1, < 16.10.0-rc-1 | 15.10.14, 16.4.6, 16.10.0-rc-1 |
Blast radius
42% of the dependent artifacts (305) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 4,031 |
| 2 hops | 22,256 |
| 3 hops | 18,004 |
| 4 hops | 4,563 |
| 5 hops | 371 |
| 6 hops | 4,010 |
Most used dependents
- org.xwiki.platform » xwiki-platform-oldcore449 usages
- org.xwiki.platform » xwiki-platform-rendering-macro-velocity175 usages
- org.xwiki.platform » xwiki-platform-test-ui159 usages
- org.xwiki.platform » xwiki-platform-bridge150 usages
- org.xwiki.platform » xwiki-platform-test-docker101 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.platform » xwiki-platform-rendering-macro-include74 usages
- org.xwiki.platform » xwiki-platform-test-page72 usages
- org.xwiki.platform » xwiki-platform-query-manager71 usages
- org.xwiki.platform » xwiki-platform-test-oldcore71 usages
- org.xwiki.platform » xwiki-platform-panels-ui62 usages
- org.xwiki.platform » xwiki-platform-configuration-default57 usages
- org.xwiki.platform » xwiki-platform-administration-test-pageobjects54 usages
Computed from the dependency graph of build 20261128.0605 (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-2025-29924 | nvd.nist.gov |
| Package | xwiki/xwiki-platform | github.com |
| Web | xwiki/xwiki-platform advisory GHSA-gq32-758c-3wm3 | github.com |
| Web | xwiki/xwiki-platform commit 5f98bde | github.com |
| Web | browse/XWIKI-22640 | jira.xwiki.org |
