GHSA-cc84-q3v3-mhgf

Suggest an improvement
Source
https://github.com/advisories/GHSA-cc84-q3v3-mhgf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-cc84-q3v3-mhgf/GHSA-cc84-q3v3-mhgf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cc84-q3v3-mhgf
Aliases
Published
2025-12-10T15:46:57Z
Modified
2025-12-11T16:22:22Z
Severity
  • 8.7 (High) CVSS_V4 - 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 CVSS Calculator
Summary
XWiki's REST APIs don't enforce any limits, leading to unavailability and OOM in large wikis
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-770"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-12-10T15:46:57Z",
    "nvd_published_at":  "2025-12-10T22:16:27Z",
    "severity":  "HIGH"
}
References

Affected packages

Maven
org.xwiki.platform:xwiki-platform-rest-server

Package

Name
org.xwiki.platform:xwiki-platform-rest-server
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-rest-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
16.10.11

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-cc84-q3v3-mhgf/GHSA-cc84-q3v3-mhgf.json"
org.xwiki.platform:xwiki-platform-rest-server

Package

Name
org.xwiki.platform:xwiki-platform-rest-server
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-rest-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
17.0.0-rc-1
Fixed
17.4.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-cc84-q3v3-mhgf/GHSA-cc84-q3v3-mhgf.json"
org.xwiki.platform:xwiki-platform-rest-server

Package

Name
org.xwiki.platform:xwiki-platform-rest-server
View open source insights on deps.dev
Purl
pkg:maven/org.xwiki.platform/xwiki-platform-rest-server

Affected ranges

Type
ECOSYSTEM
Events
Introduced
17.5.0-rc-1
Fixed
17.7.0-rc-1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-cc84-q3v3-mhgf/GHSA-cc84-q3v3-mhgf.json"