CVE-2026-40104
XWiki's REST APIs can list all pages/spaces, leading to unavailability
Description
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.
INFO
Published Date :
April 15, 2026, 4:17 a.m.
Last Modified :
April 23, 2026, 1:52 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update XWiki Platform to version 16.10.16 or later.
- Update XWiki Platform to version 17.4.8 or later.
- Update XWiki Platform to version 17.10.1 or later.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-40104.
| URL | Resource |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7 | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g | Vendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-23550 | Vendor Advisory Issue Tracking |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-40104 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-40104
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-40104 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-40104 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 23, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 17.0.0 up to (excluding) 17.4.8 *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 17.5.0 up to (excluding) 17.10.1 *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 1.8 up to (excluding) 16.10.16 Added Reference Type GitHub, Inc.: https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g Types: Vendor Advisory Added Reference Type GitHub, Inc.: https://jira.xwiki.org/browse/XWIKI-23550 Types: Issue Tracking, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Apr. 16, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H -
New CVE Received by [email protected]
Apr. 15, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-770 Added Reference https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7 Added Reference https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g Added Reference https://jira.xwiki.org/browse/XWIKI-23550