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

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-04-14T22:34:04.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-mrqg-xmgm-rc5g
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Versions 1.8-rc-1, 17.0.0-rc-1 and 17.5.0-rc-1 and prior include a resource exhaustion vulnerability in REST API endpoints such as /xwiki/rest/wikis/xwiki/spaces/AnnotationCode/pages/AnnotationConfig/objects/AnnotationCode.AnnotationConfig/0/properties, which list all available pages as part of the metadata for database list properties without applying query limits. On large wikis, this can exhaust available server resources. This issue has been patched in versions 16.10.16, 17.4.8 and 17.10.1.

(As written by CVE List.)

## Affected

- xwiki org.xwiki.platform:xwiki-platform-oldcore: >= 1.8-rc-1, < 16.10.16; >= 17.0.0-rc-1, < 17.4.8; >= 17.5.0-rc-1, < 17.10.1
- xwiki org.xwiki.platform:xwiki-platform-legacy-oldcore: >= 1.8-rc-1, < 16.10.16; >= 17.0.0-rc-1, < 17.4.8; >= 17.5.0-rc-1, < 17.10.1
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 1.8-rc-1 before 16.10.16; from 17.0.0-rc-1 before 17.4.8; from 17.5.0-rc-1 before 17.10.1
- org.xwiki.platform:xwiki-platform-legacy-oldcore (Maven): from 1.8-rc-1 before 16.10.16; from 17.0.0-rc-1 before 17.4.8; from 17.5.0-rc-1 before 17.10.1
- xwiki xwiki: from 1.8 before 16.10.16; from 17.0.0 before 17.4.8; from 17.5.0 before 17.10.1

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- CISA-ADP: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- GitHub: CVSS:3.1 8.2 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7> (patch, web)
- <https://jira.xwiki.org/browse/XWIKI-23550> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40104> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2026-40104](https://www.cve.org/CVERecord?id=CVE-2026-40104), CVE Terms of Use, modified 2026-04-16
- GitHub Advisory Database: [GHSA-mrqg-xmgm-rc5g](https://github.com/advisories/GHSA-mrqg-xmgm-rc5g), CC-BY-4.0, modified 2026-05-05
- NVD: [CVE-2026-40104](https://nvd.nist.gov/vuln/detail/CVE-2026-40104), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40104 · Whole record: https://cve.day/CVE-2026-40104.json · Rebuilt by cve.day 2026-11-25T22:59:18.816Z
