ADVISORIES

GitHub Advisory Database

GHSA-mrqg-xmgm-rc5g

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

Moderate CVE-2026-40104

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.xwiki.platform:xwiki-platform-oldcore
From 1.8-rc-1 before 16.10.16 (fixed in 16.10.16)
Mavenorg.xwiki.platform:xwiki-platform-oldcore
From 17.0.0-rc-1 before 17.4.8 (fixed in 17.4.8)
Mavenorg.xwiki.platform:xwiki-platform-oldcore
From 17.5.0-rc-1 before 17.10.1 (fixed in 17.10.1)
Mavenorg.xwiki.platform:xwiki-platform-legacy-oldcore
From 1.8-rc-1 before 16.10.16 (fixed in 16.10.16)
Mavenorg.xwiki.platform:xwiki-platform-legacy-oldcore
From 17.0.0-rc-1 before 17.4.8 (fixed in 17.4.8)
Mavenorg.xwiki.platform:xwiki-platform-legacy-oldcore
From 17.5.0-rc-1 before 17.10.1 (fixed in 17.10.1)

References