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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-770"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40104.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8"
},
{
"fixed": "16.10.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "17.0.0"
},
{
"fixed": "17.4.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "17.5.0"
},
{
"fixed": "17.10.1"
}
],
"source": "CPE_RANGE"
}
]
}
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.8"
},
{
"fixed": "16.10.16"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "17.0.0"
},
{
"fixed": "17.4.8"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "17.5.0"
},
{
"fixed": "17.10.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "47b568c4753a6e682b14be1ca581bdd3b25d45a7"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40104.json"
[
{
"deprecated": false,
"digest": {
"function_hash": "75574421566564608398195283329070200586",
"length": 611
},
"id": "CVE-2026-40104-1e9146d1",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7",
"target": {
"file": "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/DBListClass.java",
"function": "getDBList"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"234830944829192995068659288240396924635",
"88116946353640571016202014179835321140",
"318365460472491816240140358346962281073",
"103236191556676778339412799864892746707",
"10179317062567157067268899559870999302",
"269257390773631409230090461772295898722",
"219505462662310683705333797249573251268",
"84115996349633445266532442783838569619",
"151926094321760917351751180814074780955",
"39059257038073905944091613838753559715",
"61904159480560620376776107051782014053",
"226844519581446775197400784650115777246",
"76057362932050978659058979094723941765",
"282467605060331242761654288552248177680",
"209132401173306041901263793924701565686"
],
"threshold": 0.9
},
"id": "CVE-2026-40104-964935ea",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7",
"target": {
"file": "xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/DBListClass.java"
}
},
{
"deprecated": false,
"digest": {
"line_hashes": [
"75688620387645609651633405990363477962",
"63770677638103208684810630145097366309",
"148552161452096559365260927369566208253",
"194044087889631132803148550671364721043",
"335841771938884455193177368197101640875",
"219109683626831899273207836399267546246",
"222417837104085862535184577132410512657",
"276841673132786708485735841426207163400",
"235747847600861037310319677598953157141",
"196505899681181821184436894622566590652",
"214997603798914742580358337858756830114",
"277075886222896385765576369016917731564",
"49762487272866010038173370699351162234",
"288940400948520525490791693468328449925",
"125089154310915617229547179193620234063"
],
"threshold": 0.9
},
"id": "CVE-2026-40104-c87cdf9b",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/xwiki/xwiki-platform/commit/47b568c4753a6e682b14be1ca581bdd3b25d45a7",
"target": {
"file": "xwiki-platform-core/xwiki-platform-oldcore/src/test/java/com/xpn/xwiki/objects/classes/DBListClassTest.java"
}
}
]
"2026-10-28T10:49:42Z"