CVE-2026-40104: XWiki Platform Oldcore and Legacy Oldcore REST API Resource Exhaustion Vulnerability

Summary

14/04/2026
Yes i
Moderate
6.9

CVE-2026-40104: XWiki's REST APIs can list all pages/spaces, leading to unavailability. Affects org.xwiki.platform:xwiki-platform-oldcore across 3 version ranges.

>= 1.8-rc-1, < 16.10.16 >= 17.0.0-rc-1, < 17.4.8 >= 17.5.0-rc-1, < 17.10.1

Fixed in 16.10.16, 17.4.8 or 17.10.1, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

XWiki is a powerful open-source platform designed for collaborative knowledge management. It allows users to create, edit, and manage content in a wiki format. The platform's REST APIs facilitate interaction with the wiki's data programmatically. However, certain endpoints can expose the system to resource exhaustion issues, particularly in large wikis, due to improper handling of database list properties.

Vulnerability Detail

The vulnerability arises from specific REST API endpoints that list all available pages and spaces, which can lead to resource exhaustion on large wikis. For instance, the endpoint '/xwiki/rest/wikis/xwiki/spaces/AnnotationCode/pages/AnnotationConfig/objects/AnnotationCode.AnnotationConfig/0/properties' retrieves extensive metadata, potentially overwhelming the server's resources and causing unavailability. This issue is classified under CWE-770, indicating improper handling of resource consumption.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.8-rc-1, < 16.10.16 16.10.16
  • >= 17.0.0-rc-1, < 17.4.8 17.4.8
  • >= 17.5.0-rc-1, < 17.10.1 17.10.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

Currently, there are no known workarounds other than upgrading the affected modules to the patched versions mentioned above.

Conclusion

In summary, CVE-2026-40104 poses a significant risk to XWiki installations, particularly those with extensive content. It is crucial to upgrade to the patched versions of the affected packages to mitigate this vulnerability and ensure the stability of your XWiki instance.

See every vulnerability recorded for org.xwiki.platform:xwiki-platform-oldcore →

Share this vulnerability

FAQ

CVE-2026-40104 is a vulnerability in XWiki's REST APIs that can lead to resource exhaustion by listing all pages and spaces in large wikis.

If your XWiki instance is large, this vulnerability can exhaust server resources, potentially leading to downtime or unavailability.

Affected versions include those prior to 16.10.16, 17.4.8, and 17.10.1 for both 'xwiki-platform-oldcore' and 'xwiki-platform-legacy-oldcore'.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score for this vulnerability is 6.9, indicating a moderate severity level.

Related vulnerabilities

Recent vulnerabilities recorded for org.xwiki.platform:xwiki-platform-oldcore.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 1.8-rc-1, < 16.10.16 16.10.16
  • >= 17.0.0-rc-1, < 17.4.8 17.4.8
  • >= 17.5.0-rc-1, < 17.10.1 17.10.1

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback