CVE-2025-29925: XWiki allows unregistered users to access private pages information through REST endpoint

Published Mar 19, 2025
·
Updated

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

Other sources

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.

NVD

Affected Software

7 affected componentsFixes available
XWiki XWiki Platform<15.10.14, <16.4.6, <16.10.0-rc-1
maven/org.xwiki.platform:xwiki-platform-rest-server>=16.5.0-rc-1<16.10.0-rc-1
16.10.0-rc-1
maven/org.xwiki.platform:xwiki-platform-rest-server>=16.0.0-rc-1<16.4.6
16.4.6
maven/org.xwiki.platform:xwiki-platform-rest-server>=1.9M1<15.10.14
15.10.14
XWiki xwiki>=1.9<15.10.14
XWiki xwiki>=16.0.0<16.4.6
XWiki xwiki>=16.5.0<=16.10.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.xwiki.platform:xwiki-platform-rest-server to a version that resolves this vulnerability.

    Fixed in 16.10.0-rc-1
  2. Upgrade

    Upgrade maven/org.xwiki.platform:xwiki-platform-rest-server to a version that resolves this vulnerability.

    Fixed in 16.4.6
  3. Upgrade

    Upgrade maven/org.xwiki.platform:xwiki-platform-rest-server to a version that resolves this vulnerability.

    Fixed in 15.10.14
  4. Upgrade

    Upgrade XWiki Platform to a version that resolves this vulnerability.

    Fixed in 15.10.14
  5. Upgrade

    Upgrade XWiki Platform to a version that resolves this vulnerability.

    Fixed in 16.4.6
  6. Upgrade

    Upgrade XWiki Platform to a version that resolves this vulnerability.

    Fixed in 16.10.0RC1
  7. Compensating control

    As a workaround if you cannot upgrade, manually apply the changes from the referenced commits in `xwiki-platform-rest-server`, then recompile/rebuild it (to prevent protected pages from being listed by the REST endpoints `/rest/wikis/[wikiName]/pages` when the user lacks view rights).

Event History

Mar 19, 2025
CVE Published
via MITRE·05:36 PM
Data Sourced
via MITRE·05:36 PM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
RemedyAffected Software
Advisory Published
via GitHub·08:34 PM
Data Sourced
via GitHub·08:34 PM
DescriptionWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-29925?

CVE-2025-29925 has a high severity rating due to exposure of protected pages through REST endpoints.

2

How do I fix CVE-2025-29925?

To fix CVE-2025-29925, upgrade to XWiki Platform versions 15.10.14, 16.4.6, or 16.10.0-rc-1 or later.

3

What are the affected versions of XWiki Platform in CVE-2025-29925?

The affected versions are all prior to 15.10.14, 16.4.6, and 16.10.0-rc-1.

4

What type of vulnerability is CVE-2025-29925?

CVE-2025-29925 is a REST API exposure vulnerability affecting access to protected pages.

5

Can CVE-2025-29925 affect user privacy?

Yes, CVE-2025-29925 can potentially compromise user privacy by exposing protected content to unauthorized users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203