GHSA-22q5-9phm-744v — xwiki-platform-rest-server
Fix: xwiki/xwiki-platform@1fb12d2GHSA-22q5-9phm-744v is a CWE-402 vulnerability in org.xwiki.platform:xwiki-platform-rest-server. A fix is available for org.xwiki.platform:xwiki-platform-rest-server — see the affected versions and patch details below.
XWiki allows unregistered users to access private pages information through REST endpoint
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
Exploitation and automatability from CISA’s SSVC triage for GHSA-22q5-9phm-744v.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.xwiki.platform:xwiki-platform-rest-server☕org.xwiki.platform:xwiki-platform-rest-server☕org.xwiki.platform:xwiki-platform-rest-serverReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Impact
Protected pages are listed when requesting the REST endpoints /rest/wikis/[wikiName]/pages even if the user doesn't have view rights on them.
It's particularly true if the entire wiki is protected with "Prevent unregistered user to view pages": the endpoint would still list the pages of the wiki (actually it only impacts the main wiki due to XWIKI-22639).
Patches
The problem has been patched in XWiki 15.10.14, 16.4.6, 16.10.0RC1. In those versions the endpoint can still be requested but the result is filtered out based on pages rights.
Workarounds
There's no workaround except upgrading or applying manually the changes of the commits (see references) in xwiki-platform-rest-server and recompiling / rebuilding it.
References
- Original JIRA ticket: https://jira.xwiki.org/browse/XWIKI-22630
- Related JIRA ticket: https://jira.xwiki.org/browse/XWIKI-22639
- Commits of the patch: https://github.com/xwiki/xwiki-platform/commit/bca72f5ce971a31dba2a016d8dd8badda4475206 and https://github.com/xwiki/xwiki-platform/commit/1fb12d2780f37b34a1b4dfdf8457d97ce5cbb2df
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.xwiki.platform:xwiki-platform-rest-server | ≥ 1.9M1&&< 15.10.14 | 15.10.14org.xwiki.platform:xwiki-platform-rest-server:15.10.14 |
| ☕Maven | org.xwiki.platform:xwiki-platform-rest-server | ≥ 16.0.0-rc-1&&< 16.4.6 | 16.4.6org.xwiki.platform:xwiki-platform-rest-server:16.4.6 |
| ☕Maven | org.xwiki.platform:xwiki-platform-rest-server | ≥ 16.5.0-rc-1&&< 16.10.0-rc-1 | 16.10.0-rc-1org.xwiki.platform:xwiki-platform-rest-server:16.10.0-rc-1 |
Affected Products
xwikixwikiDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.xwiki.platform:xwiki-platform-rest-server, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.xwiki.platform:xwiki-platform-rest-server to 15.10.14 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-22q5-9phm-744v is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
How to detect GHSA-22q5-9phm-744v
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-22q5-9phm-744v -u https://target- Template
- XWiki REST API - Private Pages Disclosure
- Severity
- high
- Impact
- Unauthenticated users can access private page information through the REST API pages endpoint, potentially exposing sensitive metadata and page content.
- Remediation
- Upgrade to XWiki version that implements proper authorization checks for the REST API pages endpoint.
Template by ProjectDiscovery nuclei-templates (ritikchaddha), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-22q5-9phm-744v in your dependencies?
Find it across Maven, including transitive dependencies.