XWiki REST API Resource Exhaustion before 16.10.16/17.4.8/17.10.1
CVE-2026-40104 Published on April 15, 2026
XWiki's REST APIs can list all pages/spaces, leading to unavailability
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 1.8-rc-1, 17.0.0-rc-1 and 17.5.0-rc-1 and prior include a resource exhaustion vulnerability in REST API endpoints such as /xwiki/rest/wikis/xwiki/spaces/AnnotationCode/pages/AnnotationConfig/objects/AnnotationCode.AnnotationConfig/0/properties, which list all available pages as part of the metadata for database list properties without applying query limits. On large wikis, this can exhaust available server resources. This issue has been patched in versions 16.10.16, 17.4.8 and 17.10.1.
Vulnerability Analysis
CVE-2026-40104 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity, and a high impact on availability.
Weakness Type
Allocation of Resources Without Limits or Throttling
The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
Products Associated with CVE-2026-40104
Want to know whenever a new CVE is published for Xwiki? stack.watch will email you.
Affected Versions
org.xwiki.platform:xwiki-platform-oldcore:- Version >= 1.8-rc-1, < 16.10.16 is affected.
- Version >= 17.0.0-rc-1, < 17.4.8 is affected.
- Version >= 17.5.0-rc-1, < 17.10.1 is affected.
- Version >= 1.8-rc-1, < 16.10.16 is affected.
- Version >= 17.0.0-rc-1, < 17.4.8 is affected.
- Version >= 17.5.0-rc-1, < 17.10.1 is affected.