Loading...
Skip to main content

CVE-2026-40104

MEDIUM

XWiki's REST APIs can list all pages/spaces, leading to unavailability

Published April 14, 2026Updated May 5, 2026Source: osv

Summary

### 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.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.xwiki.platform:xwiki-platform-oldcore to 16.10.16 or later
<!-- Update pom.xml dependency version to 16.10.16 for org.xwiki.platform:xwiki-platform-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-oldcore to 17.10.1 or later
<!-- Update pom.xml dependency version to 17.10.1 for org.xwiki.platform:xwiki-platform-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-oldcore to 17.4.8 or later
<!-- Update pom.xml dependency version to 17.4.8 for org.xwiki.platform:xwiki-platform-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-legacy-oldcore to 17.4.8 or later
<!-- Update pom.xml dependency version to 17.4.8 for org.xwiki.platform:xwiki-platform-legacy-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-legacy-oldcore to 16.10.16 or later
<!-- Update pom.xml dependency version to 16.10.16 for org.xwiki.platform:xwiki-platform-legacy-oldcore -->
Maven
Update org.xwiki.platform:xwiki-platform-legacy-oldcore to 17.10.1 or later
<!-- Update pom.xml dependency version to 17.10.1 for org.xwiki.platform:xwiki-platform-legacy-oldcore -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (6)

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-770
    Allocation of Resources Without LimitsMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H

Frequently Asked Questions

What is CVE-2026-40104?
XWiki's REST APIs can list all pages/spaces, leading to unavailability This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 8.2/10).
How do I check if my project is affected by CVE-2026-40104?
CVE-2026-40104 affects org.xwiki.platform:xwiki-platform-oldcore and org.xwiki.platform:xwiki-platform-legacy-oldcore. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-40104 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.2

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-mrqg-xmgm-rc5g

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies