GHSA-22q5-9phm-744v

Suggest an improvement
Source
https://github.com/advisories/GHSA-22q5-9phm-744v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-22q5-9phm-744v/GHSA-22q5-9phm-744v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-22q5-9phm-744v
Aliases
Published
2025-03-19T20:34:43Z
Modified
2025-03-19T21:15:08Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
XWiki allows unregistered users to access private pages information through REST endpoint
Details

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

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids": [
        "CWE-402"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-19T20:34:43Z",
    "nvd_published_at": "2025-03-19T18:15:25Z",
    "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
1.9M1
Fixed
15.10.14

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-22q5-9phm-744v/GHSA-22q5-9phm-744v.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
16.0.0-rc-1
Fixed
16.4.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-22q5-9phm-744v/GHSA-22q5-9phm-744v.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
16.5.0-rc-1
Fixed
16.10.0-rc-1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-22q5-9phm-744v/GHSA-22q5-9phm-744v.json"