CVE-2025-66473: Xwiki platform rest server Remote Code Execution Vulnerability
HIGHCVE-2025-66473 is a HIGH remote code execution vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Xwiki platform rest server libraries in the Maven ecosystem. The issue involves xwiki's rest apis don't enforce any limits, leading to unavailability and oom in large wikis. Remediation is available by upgrading affected packages to version 16.10.11, 17.4.4, 17.7.0-rc-1.
CVE-2025-66473 at a Glance
How to Fix CVE-2025-66473
To remediate this vulnerability, upgrade all affected Xwiki platform rest server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rest-server</artifactId>
<version>16.10.11</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rest-server</artifactId>
<version>17.4.4</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rest-server</artifactId>
<version>17.7.0-rc-1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.xwiki.platform
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-66473, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.xwiki.platform
Analyze the terminal output to locate any version of Xwiki platform rest server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.10.11), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Xwiki platform rest server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-66473 Affected Xwiki platform rest server Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.xwiki.platform:xwiki-platform-rest-server
|
Maven |
< 16.10.11
|
16.10.11
|
|
org.xwiki.platform:xwiki-platform-rest-server
|
Maven |
≥ 17.0.0-rc-1
< 17.4.4
|
17.4.4
|
|
org.xwiki.platform:xwiki-platform-rest-server
|
Maven |
≥ 17.5.0-rc-1
< 17.7.0-rc-1
|
17.7.0-rc-1
|
References
Frequently Asked Questions
What is CVE-2025-66473?
Which Xwiki platform rest server versions are affected?
What version fixes CVE-2025-66473?
Is xwiki-platform-rest-server affected?
What CWE is associated with CVE-2025-66473?
How can I check Maven dependencies for CVE-2025-66473?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-cc84-q3v3-mhgf",
"modified" : "2025-12-11T15:47:49Z",
"published" : "2025-12-10T15:46:57Z",
"aliases" : [ "CVE-2025-66473" ],
"summary" : "XWiki's REST APIs don't enforce any limits, leading to unavailability and OOM in large wikis",
"details" : "### Impact\nXWiki'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.\n\n### Patches\nXWiki 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.\n\n### Workarounds\nWe're not aware of any workaround, except denying access to the affected REST resources in a proxy in front of XWiki.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rest-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "16.10.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rest-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0-rc-1"
}, {
"fixed" : "17.4.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rest-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.5.0-rc-1"
}, {
"fixed" : "17.7.0-rc-1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cc84-q3v3-mhgf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-66473"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/e3c47745195fb445b054537be86f5c01ee69558b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xwiki/xwiki-platform"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-23355"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-10T15:46:57Z",
"nvd_published_at" : "2025-12-10T22:16:27Z"
}
}