{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/352012?format=json","vulnerability_id":"VCID-zha9-bprb-6ucp","summary":"XWiki's REST APIs can list all pages/spaces, leading to unavailability\n### 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.","aliases":[{"alias":"CVE-2026-40104"},{"alias":"GHSA-mrqg-xmgm-rc5g"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/1067016?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@16.10.16","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@16.10.16"},{"url":"http://public2.vulnerablecode.io/api/packages/1055741?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.4.8","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.4.8"},{"url":"http://public2.vulnerablecode.io/api/packages/1055739?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.10.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.10.1"},{"url":"http://public2.vulnerablecode.io/api/packages/1067015?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.16","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@16.10.16"},{"url":"http://public2.vulnerablecode.io/api/packages/1055740?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.4.8","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.4.8"},{"url":"http://public2.vulnerablecode.io/api/packages/1055743?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.10.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.10.1"}],"affected_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/1067139?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@1.8-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-zha9-bprb-6ucp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@1.8-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/570706?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.0.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3m9j-nt38-x3hq"},{"vulnerability":"VCID-4tnv-dtd4-ubc5"},{"vulnerability":"VCID-p59s-q94b-9kb6"},{"vulnerability":"VCID-zha9-bprb-6ucp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.0.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/1055738?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.5.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4tnv-dtd4-ubc5"},{"vulnerability":"VCID-zha9-bprb-6ucp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-legacy-oldcore@17.5.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/1067140?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@1.8-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-zha9-bprb-6ucp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@1.8-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/570538?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.0.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-3m9j-nt38-x3hq"},{"vulnerability":"VCID-4n2t-crsf-87gr"},{"vulnerability":"VCID-4tnv-dtd4-ubc5"},{"vulnerability":"VCID-p59s-q94b-9kb6"},{"vulnerability":"VCID-zha9-bprb-6ucp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.0.0-rc-1"},{"url":"http://public2.vulnerablecode.io/api/packages/1055742?format=json","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.5.0-rc-1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-4tnv-dtd4-ubc5"},{"vulnerability":"VCID-zha9-bprb-6ucp"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:maven/org.xwiki.platform/xwiki-platform-oldcore@17.5.0-rc-1"}],"references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40104","reference_id":"","reference_type":"","scores":[{"value":"0.00037","scoring_system":"epss","scoring_elements":"0.10787","published_at":"2026-04-16T12:55:00Z"},{"value":"0.00038","scoring_system":"epss","scoring_elements":"0.11138","published_at":"2026-04-18T12:55:00Z"},{"value":"0.00049","scoring_system":"epss","scoring_elements":"0.1524","published_at":"2026-04-21T12:55:00Z"},{"value":"0.00076","scoring_system":"epss","scoring_elements":"0.22487","published_at":"2026-05-05T12:55:00Z"},{"value":"0.00076","scoring_system":"epss","scoring_elements":"0.22588","published_at":"2026-04-29T12:55:00Z"},{"value":"0.00076","scoring_system":"epss","scoring_elements":"0.22593","published_at":"2026-04-26T12:55:00Z"},{"value":"0.00076","scoring_system":"epss","scoring_elements":"0.22601","published_at":"2026-04-24T12:55:00Z"},{"value":"0.00076","scoring_system":"epss","scoring_elements":"0.2257","published_at":"2026-05-07T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40104"},{"reference_url":"https://github.com/xwiki/xwiki-platform","reference_id":"","reference_type":"","scores":[{"value":"8.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/xwiki/xwiki-platform"},{"reference_url":"https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7","reference_id":"","reference_type":"","scores":[{"value":"8.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-04-16T14:08:13Z/"}],"url":"https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7"},{"reference_url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g","reference_id":"","reference_type":"","scores":[{"value":"8.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-04-16T14:08:13Z/"}],"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mrqg-xmgm-rc5g"},{"reference_url":"https://jira.xwiki.org/browse/XWIKI-23550","reference_id":"","reference_type":"","scores":[{"value":"8.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-04-16T14:08:13Z/"}],"url":"https://jira.xwiki.org/browse/XWIKI-23550"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40104","reference_id":"CVE-2026-40104","reference_type":"","scores":[{"value":"8.2","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H"},{"value":"6.9","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40104"},{"reference_url":"https://github.com/advisories/GHSA-mrqg-xmgm-rc5g","reference_id":"GHSA-mrqg-xmgm-rc5g","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-mrqg-xmgm-rc5g"}],"weaknesses":[{"cwe_id":770,"name":"Allocation of Resources Without Limits or Throttling","description":"The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor."}],"exploits":[],"severity_range_score":"4.0 - 8.2","exploitability":"0.5","weighted_severity":"7.4","risk_score":3.7,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-zha9-bprb-6ucp"}