CVE-2026-40104
XWiki's REST APIs can list all pages/spaces, leading to unavailability
Description
Impact
REST API endpoints like /xwiki/rest/wikis/xwiki/spaces/AnnotationCode/pages/AnnotationConfig/objects/AnnotationCode.AnnotationConfig/0/properties list all available pages as part of the metadata for database list properties, which can exhaust available resources on large wikis.
Patches
This problem has been patched by applying the configured query limit also to the available values for database list properties in XWiki 16.10.16, 17.4.8 and 17.10.1.
Workarounds
We're not aware of any workarounds apart from upgrading the affected modules.
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform » xwiki-platform-legacy-oldcore | >= 1.8-rc-1, < 16.10.16>= 17.0.0-rc-1, < 17.4.8>= 17.5.0-rc-1, < 17.10.1 | 16.10.16, 17.4.8, 17.10.1 |
| org.xwiki.platform » xwiki-platform-oldcore | >= 1.8-rc-1, < 16.10.16>= 17.0.0-rc-1, < 17.4.8>= 17.5.0-rc-1, < 17.10.1 | 16.10.16, 17.4.8, 17.10.1 |
Blast radius
72% of the dependent artifacts (821) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 43,382 |
| 2 hops | 50,826 |
| 3 hops | 23,548 |
| 4 hops | 3,513 |
| 5 hops | 117 |
| 6 hops | 2 |
Most used dependents
- 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-test-page72 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.phenotips » patient-data-api52 usages
- com.xwiki.licensing » application-licensing-licensor-api51 usages
- org.xwiki.platform » xwiki-platform-skin-skinx49 usages
- org.xwiki.platform » xwiki-platform-livetable-ui48 usages
- org.xwiki.platform » xwiki-platform-rendering-wikimacro-store47 usages
- org.xwiki.platform » xwiki-platform-uiextension-api47 usages
- org.phenotips » vocabularies-api46 usages
Computed from the dependency graph of build 20261127.1117 (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-2026-40104 | nvd.nist.gov |
| Package | xwiki/xwiki-platform | github.com |
| Web | xwiki/xwiki-platform advisory GHSA-mrqg-xmgm-rc5g | github.com |
| Web | xwiki/xwiki-platform commit 47b568c | github.com |
| Web | browse/XWIKI-23550 | jira.xwiki.org |
