CVE-2025-66473: XWiki's REST APIs don't enforce any limits, leading to unavailability and OOM in large wikis
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.
Published Dec 10, 2025 · Updated Dec 11, 2025
Affected packages
org.xwiki.platform:xwiki-platform-rest-server
- Ecosystem
- Maven
- Affected
- < 16.10.11
- Fixed in
- 16.10.11
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-rest-server
org.xwiki.platform:xwiki-platform-rest-server
- Ecosystem
- Maven
- Affected
- >= 17.0.0-rc-1, < 17.4.4
- Fixed in
- 17.4.4
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-rest-server
org.xwiki.platform:xwiki-platform-rest-server
- Ecosystem
- Maven
- Affected
- >= 17.5.0-rc-1, < 17.7.0-rc-1
- Fixed in
- 17.7.0-rc-1
- Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-rest-server
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cc84-q3v3-mhgf
- https://github.com/xwiki/xwiki-platform/commit/e3c47745195fb445b054537be86f5c01ee69558b
- https://jira.xwiki.org/browse/XWIKI-23355
- https://nvd.nist.gov/vuln/detail/CVE-2025-66473
- https://github.com/advisories/GHSA-cc84-q3v3-mhgf
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2026-61689
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
high8.8Nov 19, 2026CVE-2026-33137
XWiki Platform has an Unauthenticated XAR Import via REST /wikis/{wikiName}
critical9.3May 26, 2026CVE-2025-52472
XWiki Platform is vulnerable to HQL injection via wiki and space search REST API
critical9.3Oct 6, 2025CVE-2025-49584
XWiki makes title of inaccessible pages available through the class property values REST API
high8.7Jun 13, 2025CVE-2025-46554
XWiki missing authorization when accessing the wiki level attachments list and metadata via REST API
medium5.3Apr 30, 2025CVE-2025-32969
org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API
critical9.8Apr 23, 2025
