{"id":"CVE-2026-40104","aliases":["CVE-2026-40104","GHSA-mrqg-xmgm-rc5g"],"related":[],"kind":"vulnerability","state":"published","title":"XWiki's REST APIs can list all pages/spaces, leading to unavailability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nREST 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.\n\n### Patches\nThis 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.\n\n### Workarounds\nWe're not aware of any workarounds apart from upgrading the affected modules.","format":"markdown","source":"ghsa"},{"lang":"es","text":"XWiki Platform es una plataforma wiki genérica que ofrece servicios en tiempo de ejecución para aplicaciones construidas sobre ella. Las versiones 1.8-rc-1, 17.0.0-rc-1 y 17.5.0-rc-1 y anteriores incluyen una vulnerabilidad de agotamiento de recursos en los puntos finales de la API REST, como /xwiki/rest/wikis/xwiki/spaces/AnnotationCode/pages/AnnotationConfig/objects/AnnotationCode.AnnotationConfig/0/properties, que listan todas las páginas disponibles como parte de los metadatos para las propiedades de lista de la base de datos sin aplicar límites de consulta. En wikis grandes, esto puede agotar los recursos del servidor disponibles. Este problema ha sido parcheado en las versiones 16.10.16, 17.4.8 y 17.10.1.","source":"nvd"}],"published":"2026-04-14T22:34:04.000Z","modified":"2026-10-26T22:10:00.163Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":">= 1.8-rc-1, < 16.10.16","status":"affected"},{"version":">= 17.0.0-rc-1, < 17.4.8","status":"affected"},{"version":">= 17.5.0-rc-1, < 17.10.1","status":"affected"}],"vendor":"xwiki","product":"org.xwiki.platform:xwiki-platform-oldcore","source":"cvelist"},{"ranges":[{"version":">= 1.8-rc-1, < 16.10.16","status":"affected"},{"version":">= 17.0.0-rc-1, < 17.4.8","status":"affected"},{"version":">= 17.5.0-rc-1, < 17.10.1","status":"affected"}],"vendor":"xwiki","product":"org.xwiki.platform:xwiki-platform-legacy-oldcore","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.8-rc-1","status":"affected","fixed":"16.10.16"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"17.0.0-rc-1","status":"affected","fixed":"17.4.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"17.5.0-rc-1","status":"affected","fixed":"17.10.1"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.8-rc-1","status":"affected","fixed":"16.10.16"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-legacy-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"17.0.0-rc-1","status":"affected","fixed":"17.4.8"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-legacy-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"17.5.0-rc-1","status":"affected","fixed":"17.10.1"}],"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-legacy-oldcore","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.8","fixed":"16.10.16"},{"status":"affected","introduced":"17.0.0","fixed":"17.4.8"},{"status":"affected","introduced":"17.5.0","fixed":"17.10.1"}],"vendor":"xwiki","product":"xwiki","cpe":"cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://jira.xwiki.org/browse/XWIKI-23550","tags":["issue-tracking","vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40104","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/xwiki/xwiki-platform","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-16T14:08:13.653Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40104","url":"https://www.cve.org/CVERecord?id=CVE-2026-40104","licence":"CVE Terms of Use","modified":"2026-04-16T14:08:58.592Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mrqg-xmgm-rc5g","url":"https://github.com/advisories/GHSA-mrqg-xmgm-rc5g","licence":"CC-BY-4.0","modified":"2026-05-05T16:13:01.911Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40104","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40104","licence":"Public domain","modified":"2026-10-26T22:10:00.163Z"}],"updatedAt":"2026-11-25T22:59:18.816Z","epss":{"score":0.00407,"percentile":0.37036,"date":"2026-12-01T12:00:22.000Z"}}