GHSA-mrqg-xmgm-rc5g
XWiki's REST APIs can list all pages/spaces, leading to unavailability
Quick fix
GHSA-mrqg-xmgm-rc5g — org.xwiki.platform:xwiki-platform-oldcore: upgrade to the fixed version with the command below.
# pom.xml: bump <version>16.10.16</version> for org.xwiki.platform:xwiki-platform-oldcoreDetails
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
1.8-rc-1Fixed in: 16.10.16# pom.xml: bump <version>16.10.16</version> for org.xwiki.platform:xwiki-platform-oldcore17.0.0-rc-1Fixed in: 17.4.8# pom.xml: bump <version>17.4.8</version> for org.xwiki.platform:xwiki-platform-oldcore17.5.0-rc-1Fixed in: 17.10.1# pom.xml: bump <version>17.10.1</version> for org.xwiki.platform:xwiki-platform-oldcore1.8-rc-1Fixed in: 16.10.16# pom.xml: bump <version>16.10.16</version> for org.xwiki.platform:xwiki-platform-legacy-oldcore17.0.0-rc-1Fixed in: 17.4.8# pom.xml: bump <version>17.4.8</version> for org.xwiki.platform:xwiki-platform-legacy-oldcore17.5.0-rc-1Fixed in: 17.10.1# pom.xml: bump <version>17.10.1</version> for org.xwiki.platform:xwiki-platform-legacy-oldcoreReferences
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2026-40104[ADVISORY]
- https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7[WEB]
- https://github.com/xwiki/xwiki-platform[PACKAGE]
- https://jira.xwiki.org/browse/XWIKI-23550[WEB]