NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-66473: XWiki's REST APIs don't enforce any limits, leading to unavailability and OOM in large wikis

highCVSS 4.0 8.7GHSA-cc84-q3v3-mhgf

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

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 entries