Skip to main content

CVE-2026-40104 — Vulnerability in xwiki-platform-oldcore — CVE Details

MEDIUM

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

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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.73%). Schedule for your next planned update.

Does your project use an affected org.xwiki.platform:xwiki-platform-oldcore version?

Paste your pom.xml to check it for CVE-2026-40104 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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.

Advisory Timeline

  • First published April 14, 2026 (226 days ago).
  • Last revised May 5, 2026 — 21 days after initial publication.

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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Maven (2).

PackageFixed In
org.xwiki.platform:xwiki-platform-oldcore Maven · Affected: All versions16.10.16
org.xwiki.platform:xwiki-platform-oldcore Maven · Affected: All versions17.10.1
org.xwiki.platform:xwiki-platform-oldcore Maven · Affected: All versions17.4.8
org.xwiki.platform:xwiki-platform-legacy-oldcore Maven · Affected: All versions17.4.8
org.xwiki.platform:xwiki-platform-legacy-oldcore Maven · Affected: All versions16.10.16
org.xwiki.platform:xwiki-platform-legacy-oldcore Maven · Affected: All versions17.10.1

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. It has a 0.7% probability of exploitation within 30 days (EPSS score). 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

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.73%
EPSS percentile: 50

This is an above-median EPSS score — 50% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-mrqg-xmgm-rc5g

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml