All reports
Medium

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

Affected versions

Affected versions
>= 17.0.0-rc-1, < 17.4.8
Fixed version
17.4.8
Affected versions
>= 17.5.0-rc-1, < 17.10.1
Fixed version
17.10.1
Affected versions
>= 1.8-rc-1, < 16.10.16
Fixed version
16.10.16
Affected versions
>= 17.0.0-rc-1, < 17.4.8
Fixed version
17.4.8
Affected versions
>= 17.5.0-rc-1, < 17.10.1
Fixed version
17.10.1
Affected versions
>= 1.8-rc-1, < 16.10.16
Fixed version
16.10.16

Exploitation

CVE-2026-40104

Probability of exploitation in the next 30 days: 0.41%

FIRST EPSS · 2026-11-22

Description

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.

Links