CVE-2026-40104: XWiki's REST APIs can list all pages/spaces, leading to unavailability
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.
Published Apr 14, 2026 · Updated Apr 24, 2026
Affected packages
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 1.8-rc-1, < 16.10.16
- Fixed in
- 16.10.16
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.4.8
- Fixed in
- 17.4.8
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.5.0-rc-1, < 17.10.1
- Fixed in
- 17.10.1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-oldcore
org.xwiki.platform:xwiki-platform-legacy-oldcore
- Ecosystem
- Maven
- Affected
- >= 1.8-rc-1, < 16.10.16
- Fixed in
- 16.10.16
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore
org.xwiki.platform:xwiki-platform-legacy-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.4.8
- Fixed in
- 17.4.8
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore
org.xwiki.platform:xwiki-platform-legacy-oldcore
- Ecosystem
- Maven
- Affected
- >= 17.5.0-rc-1, < 17.10.1
- Fixed in
- 17.10.1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-legacy-oldcore
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g
- https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7
- https://jira.xwiki.org/browse/XWIKI-23550
- https://nvd.nist.gov/vuln/detail/CVE-2026-40104
- https://github.com/advisories/GHSA-mrqg-xmgm-rc5g
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-34151
XWiki Platform Old Core: Resource path traversal via /skin/ action endpoint in Jetty 12+
high8.2Jul 7, 2026CVE-2026-33229
XWiki vulnerable to remote code execution with script right through unprotected Velocity scripting API
high8.6Apr 8, 2026CVE-2025-54124
XWiki leaks password hashes and other accessible password properties
high7.1Aug 5, 2025CVE-2025-54125
XWiki exposes passwords and emails stored in fields not named password/email in xml.vm
high8.7Aug 5, 2025CVE-2025-54385
XWiki Platform vulnerable to SQL injection through XWiki#searchDocuments API
high8.6Jul 25, 2025CVE-2025-49586
XWiki allows remote code execution through preview of XClass changes in AWM editor
high8.7Jun 13, 2025
