CVE-2025-29925: Xwiki platform rest server XWiki Allows Unregistered Users To Vulnerability

HIGH
Advisory Identifier: GHSA-22q5-9phm-744v
CWE-402
Published
Advisory Summary

CVE-2025-29925 is a HIGH xwiki allows unregistered users to vulnerability (CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak')) affecting Xwiki platform rest server libraries in the Maven ecosystem. The issue involves xwiki allows unregistered users to access private pages information through rest endpoint. Remediation is available by upgrading affected packages to version 15.10.14, 16.4.6, 16.10.0-rc-1.

CVE-2025-29925 at a Glance

CVE Identifier CVE-2025-29925
GHSA Identifier GHSA-22q5-9phm-744v
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak')
Affected Product Xwiki platform rest server
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2025-29925

To remediate this vulnerability, upgrade all affected Xwiki platform rest server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.xwiki.platform:xwiki-platform-rest-server fixed: 15.10.14
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-rest-server</artifactId>
    <version>15.10.14</version>
</dependency>
org.xwiki.platform:xwiki-platform-rest-server fixed: 16.4.6
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-rest-server</artifactId>
    <version>16.4.6</version>
</dependency>
org.xwiki.platform:xwiki-platform-rest-server fixed: 16.10.0-rc-1
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-rest-server</artifactId>
    <version>16.10.0-rc-1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.xwiki.platform

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-29925, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.xwiki.platform

Analyze the terminal output to locate any version of Xwiki platform rest server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.10.14), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak'), where the product makes resources available to untrusted parties when those resources are only intended to be accessed by the product. In Xwiki platform rest server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)

CVE-2025-29925 Affected Xwiki platform rest server Versions

3 component(s)
Fixed Versions:
15.10.1416.4.616.10.0-rc-1
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-rest-server
Maven
≥ 1.9M1
< 15.10.14
15.10.14
org.xwiki.platform:xwiki-platform-rest-server
Maven
≥ 16.0.0-rc-1
< 16.4.6
16.4.6
org.xwiki.platform:xwiki-platform-rest-server
Maven
≥ 16.5.0-rc-1
< 16.10.0-rc-1
16.10.0-rc-1

References

Frequently Asked Questions

What is CVE-2025-29925?
CVE-2025-29925 is a security vulnerability in Xwiki platform rest server involving XWiki allows unregistered users to access private pages information through REST endpoint under CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak').
Which Xwiki platform rest server versions are affected?
Affected versions include releases prior to 15.10.14, 16.4.6, 16.10.0-rc-1 across affected packages: org.xwiki.platform:xwiki-platform-rest-server.
What version fixes CVE-2025-29925?
Upgrading to 15.10.14, 16.4.6, 16.10.0-rc-1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-rest-server affected?
Yes, org.xwiki.platform:xwiki-platform-rest-server is affected in releases prior to 15.10.14, 16.4.6, 16.10.0-rc-1. Upgrade your dependency to 15.10.14, 16.4.6, 16.10.0-rc-1 or later.
What CWE is associated with CVE-2025-29925?
CVE-2025-29925 is classified under CWE-402: Transmission of Private Resources into a New Sphere ('Resource Leak') (The product makes resources available to untrusted parties when those resources are only intended to be accessed by the product.).
How can I check Maven dependencies for CVE-2025-29925?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.xwiki.platform'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-22q5-9phm-744v",
  "modified" : "2025-03-19T20:34:43Z",
  "published" : "2025-03-19T20:34:43Z",
  "aliases" : [ "CVE-2025-29925" ],
  "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)",
  "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-rest-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.9M1"
      }, {
        "fixed" : "15.10.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-rest-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0-rc-1"
      }, {
        "fixed" : "16.4.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-rest-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.5.0-rc-1"
      }, {
        "fixed" : "16.10.0-rc-1"
      } ]
    } ]
  } ],
  "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"
  } ],
  "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"
  }
}