CVE-2026-40104: XWiki's REST APIs can list all pages/spaces, leading to unavailability

Published Apr 14, 2026
·
Updated

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

Affected Software

9 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-legacy-oldcore>=17.5.0-rc-1<17.10.1
17.10.1
maven/org.xwiki.platform:xwiki-platform-legacy-oldcore>=17.0.0-rc-1<17.4.8
17.4.8
maven/org.xwiki.platform:xwiki-platform-legacy-oldcore>=1.8-rc-1<16.10.16
16.10.16
maven/org.xwiki.platform:xwiki-platform-oldcore>=17.5.0-rc-1<17.10.1
17.10.1
maven/org.xwiki.platform:xwiki-platform-oldcore>=17.0.0-rc-1<17.4.8
17.4.8
maven/org.xwiki.platform:xwiki-platform-oldcore>=1.8-rc-1<16.10.16
16.10.16
XWiki xwiki>=1.8<16.10.16
XWiki xwiki>=17.0.0<17.4.8
XWiki xwiki>=17.5.0<17.10.1

Event History

Apr 14, 2026
Advisory Published
via GitHub·10:34 PM
Data Sourced
via GitHub·10:34 PM
DescriptionWeaknessAffected Software
Apr 15, 2026
CVE Published
via MITRE·12:01 AM
Data Sourced
via MITRE·12:01 AM
DescriptionWeakness
Data Sourced
via NVD·04:17 AM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40104?

CVE-2026-40104 has a high severity due to its potential to exhaust resources in large wikis.

2

What are the affected versions for CVE-2026-40104?

CVE-2026-40104 affects versions of the XWiki platform between 17.0.0-rc-1 and 17.10.1, as well as prior versions of 16.10.16.

3

How do I fix CVE-2026-40104?

To fix CVE-2026-40104, you need to upgrade to XWiki versions 17.10.1, 17.4.8, or 16.10.16.

4

What type of vulnerability is CVE-2026-40104?

CVE-2026-40104 is a resource exhaustion vulnerability in the REST API of the XWiki platform.

5

Which component is vulnerable in CVE-2026-40104?

CVE-2026-40104 affects the metadata handling in the REST API endpoint `/xwiki/rest/wikis/xwiki/spaces/AnnotationCode/pages/AnnotationConfig/objects/AnnotationCode.AnnotationConfig/0/properties`.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203