CVE-2025-29925
JSON

8.7high

XWiki allows unregistered users to access private pages information through REST endpoint

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.95% (higher than 62% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-22q5-9phm-744v

Description

XWiki Platform is a generic wiki platform. Prior to 15.10.14, 16.4.6, and 16.10.0-rc-1, 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, though only for the main wiki. 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.

Affected

Product or packageVersionsReported by
xwiki xwiki-platform>= 1.9M1, < 15.10.14, >= 16.0.0-rc-1, < 16.4.6, >= 16.5.0-rc-1, < 16.10.0-rc-1CVE List
org.xwiki.platform:xwiki-platform-rest-server (Maven)from 1.9M1 before 15.10.14, from 16.0.0-rc-1 before 16.4.6, from 16.5.0-rc-1 before 16.10.0-rc-1GitHub Advisory Database
xwiki xwikifrom 1.9 before 15.10.14, from 16.0.0 before 16.4.6, from 16.5.0 up to 16.10.0NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-402

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

XWiki Platform is a generic wiki platform. Prior to 15.10.14, 16.4.6, and 16.10.0-rc-1, 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, though only for the main wiki. 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.

GitHub Advisory Database
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:

NVD (es)

XWiki Platform es una plataforma wiki genérica. Antes de las versiones 15.10.14, 16.4.6 y 16.10.0-rc-1, las páginas protegidas se listaban al solicitar los endpoints REST /rest/wikis/[wikiName]/pages, incluso si el usuario no tenía permisos de visualización. Esto es especialmente cierto si toda la wiki está protegida con la opción "Impedir que usuarios no registrados vean las páginas": el endpoint seguiría listando las páginas de la wiki, aunque solo para la wiki principal. El problema se ha corregido en XWiki 15.10.14, 16.4.6 y 16.10.0RC1. En estas versiones, el endpoint aún se puede solicitar, pero el resultado se filtra según los permisos de las páginas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-29925 changed 2025-03-19CVE Terms of Use
GitHub Advisory DatabaseGHSA-22q5-9phm-744v changed 2025-03-19CC-BY-4.0
NVDCVE-2025-29925 changed 2026-06-17Public domain