CVE-2025-66473
JSON

8.7high

XWiki's REST APIs don't enforce any limits, leading to unavailability and OOM in large wikis

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-cc84-q3v3-mhgf

Description

XWiki is an open-source wiki software platform. Versions 16.10.10 and below, 17.0.0-rc-1 through 17.4.3 and 17.5.0-rc-1 through 17.6.0 contain a REST API which doesn't enforce any limits for the number of items that can be requested in a single request at the moment. Depending on the number of pages in the wiki and the memory configuration, this can lead to slowness and unavailability of the wiki. As an example, the /rest/wikis/xwiki/spaces resource returns all spaces on the wiki by default, which are basically all pages. This issue is fixed in versions 17.4.4 and 16.10.11.

Affected

Product or packageVersionsReported by
xwiki xwiki-platform< 16.10.11, >= 17.0.0-rc-1, < 17.4.4, >= 17.5.0-rc-1, < 17.7.0-rc-1CVE List
org.xwiki.platform:xwiki-platform-rest-server (Maven)before 16.10.11, from 17.0.0-rc-1 before 17.4.4, from 17.5.0-rc-1 before 17.7.0-rc-1GitHub Advisory Database
xwiki xwikibefore 16.10.11, from 17.0.0 before 17.4.4, from 17.5.0 up to 17.6.0NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

XWiki is an open-source wiki software platform. Versions 16.10.10 and below, 17.0.0-rc-1 through 17.4.3 and 17.5.0-rc-1 through 17.6.0 contain a REST API which doesn't enforce any limits for the number of items that can be requested in a single request at the moment. Depending on the number of pages in the wiki and the memory configuration, this can lead to slowness and unavailability of the wiki. As an example, the /rest/wikis/xwiki/spaces resource returns all spaces on the wiki by default, which are basically all pages. This issue is fixed in versions 17.4.4 and 16.10.11.

GitHub Advisory Database
Impact

XWiki's REST API doesn't enforce any limits for the number of items that can be requested in a single request at the moment. Depending on the number of pages in the wiki and the memory configuration, this can lead to slowness and unavailability of the wiki. As an example, the /rest/wikis/xwiki/spaces resource returns all spaces on the wiki by default, which are basically all pages.

Patches

XWiki 17.7.0RC1, 17.4.4 and 16.10.11 introduce a configurable limit, limiting responses to 1000 items by default. Requesting larger limits leads to an error now.

Workarounds

We're not aware of any workaround, except denying access to the affected REST resources in a proxy in front of XWiki.

NVD (es)

XWiki es una plataforma de software wiki de código abierto. Las versiones 16.10.10 e inferiores, 17.0.0-rc-1 hasta 17.4.3 y 17.5.0-rc-1 hasta 17.6.0 contienen una API REST que no impone ningún límite para el número de elementos que se pueden solicitar en una única solicitud en este momento. Dependiendo del número de páginas en la wiki y la configuración de la memoria, esto puede provocar lentitud e indisponibilidad de la wiki. Como ejemplo, el recurso /rest/wikis/xwiki/spaces devuelve todos los espacios de la wiki por defecto, que son básicamente todas las páginas. Este problema está solucionado en las versiones 17.4.4 y 16.10.11.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66473 changed 2025-12-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-cc84-q3v3-mhgf changed 2025-12-11CC-BY-4.0
NVDCVE-2025-66473 changed 2026-09-25Public domain