{"id":"GHSA-22q5-9phm-744v","summary":"XWiki allows unregistered users to access private pages information through REST endpoint","details":"### Impact\n\nProtected pages are listed when requesting the REST endpoints `/rest/wikis/[wikiName]/pages` even if the user doesn't have view rights on them. \nIt'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).\n\n### Patches\n\nThe 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.\n\n### Workarounds\n\nThere's no workaround except upgrading or applying manually the changes of the commits (see references) in `xwiki-platform-rest-server` and recompiling / rebuilding it.\n\n### References\n\n * Original JIRA ticket: https://jira.xwiki.org/browse/XWIKI-22630\n * Related JIRA ticket: https://jira.xwiki.org/browse/XWIKI-22639\n * Commits of the patch: https://github.com/xwiki/xwiki-platform/commit/bca72f5ce971a31dba2a016d8dd8badda4475206 and https://github.com/xwiki/xwiki-platform/commit/1fb12d2780f37b34a1b4dfdf8457d97ce5cbb2df\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [Jira XWiki.org](https://jira.xwiki.org/)\n* Email us at [Security Mailing List](mailto:security@xwiki.org)","aliases":["CVE-2025-29925"],"modified":"2025-03-19T21:15:08.964387Z","published":"2025-03-19T20:34:43Z","database_specific":{"cwe_ids":["CWE-402"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-03-19T20:34:43Z","nvd_published_at":"2025-03-19T18:15:25Z"},"references":[{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-22q5-9phm-744v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-29925"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/1fb12d2780f37b34a1b4dfdf8457d97ce5cbb2df"},{"type":"WEB","url":"https://github.com/xwiki/xwiki-platform/commit/bca72f5ce971a31dba2a016d8dd8badda4475206"},{"type":"PACKAGE","url":"https://github.com/xwiki/xwiki-platform"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-22630"},{"type":"WEB","url":"https://jira.xwiki.org/browse/XWIKI-22639"}],"affected":[{"package":{"name":"org.xwiki.platform:xwiki-platform-rest-server","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rest-server"},"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"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-rest-server","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rest-server"},"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"}},{"package":{"name":"org.xwiki.platform:xwiki-platform-rest-server","ecosystem":"Maven","purl":"pkg:maven/org.xwiki.platform/xwiki-platform-rest-server"},"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}