CVE-2025-32973: Xwiki platform component wiki Xwiki-platform-component-wiki Provides No Warning When Vulnerability

CRITICAL
Advisory Identifier: GHSA-x7wv-5qg4-vmr6
CVSS 9.0
CWE-862
Published
Advisory Summary

CVE-2025-32973 is a CRITICAL (CVSS 9.0) xwiki-platform-component-wiki provides no warning when vulnerability (CWE-862: Missing Authorization) affecting Xwiki platform component wiki libraries in the Maven ecosystem. The issue involves xwiki-platform-component-wiki provides no warning when granting xwiki.componentclass programming right. Remediation is available by upgrading affected packages to version 15.10.12, 16.4.3, 16.8.0-rc-1.

CVE-2025-32973 at a Glance

CVE Identifier CVE-2025-32973
GHSA Identifier GHSA-x7wv-5qg4-vmr6
Severity CRITICAL
CVSS v3.1 Base Score 9.0
CWE Classification CWE-862: Missing Authorization
Affected Product Xwiki platform component wiki
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-32973

To remediate this vulnerability, upgrade all affected Xwiki platform component wiki 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-component-wiki fixed: 15.10.12
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-component-wiki</artifactId>
    <version>15.10.12</version>
</dependency>
org.xwiki.platform:xwiki-platform-component-wiki fixed: 16.4.3
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-component-wiki</artifactId>
    <version>16.4.3</version>
</dependency>
org.xwiki.platform:xwiki-platform-component-wiki fixed: 16.8.0-rc-1
<dependency>
    <groupId>org.xwiki.platform</groupId>
    <artifactId>xwiki-platform-component-wiki</artifactId>
    <version>16.8.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-32973, 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 component wiki in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.10.12), 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Xwiki platform component wiki, 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 When a user with programming right edits a document in XWiki that was last edited by a user without programming right and contains an `XWiki.ComponentClass`, there is no warning that this will grant programming right to this object. An attacker who created such a malicious object could use this to gain programming right on the wiki. For this, the attacker needs to have edit right on at least one page to place this object and then get an admin user to edit that document. To reproduce the problem, as a user without programming right, add an object of type `XWiki.ComponentClass` to any page and then edit the page as a user with programming right. There should be warning displayed, if not, the XWiki installation is vulnerable. While such a warning didn't exist in any version of XWiki, only in XWiki 15.9 RC1 these kinds of warnings have been introduced which is why this is considered the first version that has this vulnerability. Before that, the advice was to be careful when editing pages edited by untrusted users. ### Patches This problem has been patched in XWiki 15.10.2, 16.4.3, and 16.8.0 RC1. ### Workarounds We're not aware of any workarounds apart from not editing pages that might have been edited by untrusted users as a user with programming rights, e.g., by using separate user accounts for admin and non-admin tasks.

CVE-2025-32973 Affected Xwiki platform component wiki Versions

3 component(s)
Fixed Versions:
15.10.1216.4.316.8.0-rc-1
Product / Package Ecosystem Affected Versions Fixed Version
org.xwiki.platform:xwiki-platform-component-wiki
Maven
≥ 15.9-rc-1
< 15.10.12
15.10.12
org.xwiki.platform:xwiki-platform-component-wiki
Maven
≥ 16.0.0-rc-1
< 16.4.3
16.4.3
org.xwiki.platform:xwiki-platform-component-wiki
Maven
≥ 16.5.0-rc-1
< 16.8.0-rc-1
16.8.0-rc-1

References

Frequently Asked Questions

What is CVE-2025-32973?
CVE-2025-32973 is a security vulnerability in Xwiki platform component wiki involving xwiki-platform-component-wiki provides no warning when granting XWiki.ComponentClass programming right under CWE-862: Missing Authorization.
Which Xwiki platform component wiki versions are affected?
Affected versions include releases prior to 15.10.12, 16.4.3, 16.8.0-rc-1 across affected packages: org.xwiki.platform:xwiki-platform-component-wiki.
What version fixes CVE-2025-32973?
Upgrading to 15.10.12, 16.4.3, 16.8.0-rc-1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is xwiki-platform-component-wiki affected?
Yes, org.xwiki.platform:xwiki-platform-component-wiki is affected in releases prior to 15.10.12, 16.4.3, 16.8.0-rc-1. Upgrade your dependency to 15.10.12, 16.4.3, 16.8.0-rc-1 or later.
What is the CVSS score of CVE-2025-32973?
CVE-2025-32973 has a CVSS v3.1 base score of 9.0 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-32973?
CVE-2025-32973 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Maven dependencies for CVE-2025-32973?
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-x7wv-5qg4-vmr6",
  "modified" : "2025-04-30T17:29:29Z",
  "published" : "2025-04-29T14:03:13Z",
  "aliases" : [ "CVE-2025-32973" ],
  "summary" : "org.xwiki.platform:xwiki-platform-component-wiki provides no warning when granting XWiki.ComponentClass programming right",
  "details" : "### Impact\n\nWhen a user with programming right edits a document in XWiki that was last edited by a user without programming right and contains an `XWiki.ComponentClass`, there is no warning that this will grant programming right to this object. An attacker who created such a malicious object could use this to gain programming right on the wiki. For this, the attacker needs to have edit right on at least one page to place this object and then get an admin user to edit that document.\n\nTo reproduce the problem, as a user without programming right, add an object of type `XWiki.ComponentClass` to any page and then edit the page as a user with programming right. There should be warning displayed, if not, the XWiki installation is vulnerable.\n\nWhile such a warning didn't exist in any version of XWiki, only in XWiki 15.9 RC1 these kinds of warnings have been introduced which is why this is considered the first version that has this vulnerability. Before that, the advice was to be careful when editing pages edited by untrusted users.\n\n### Patches\nThis problem has been patched in XWiki 15.10.2, 16.4.3, and 16.8.0 RC1.\n\n### Workarounds\nWe're not aware of any workarounds apart from not editing pages that might have been edited by untrusted users as a user with programming rights, e.g., by using separate user accounts for admin and non-admin tasks.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-component-wiki"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.9-rc-1"
      }, {
        "fixed" : "15.10.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-component-wiki"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.0.0-rc-1"
      }, {
        "fixed" : "16.4.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.xwiki.platform:xwiki-platform-component-wiki"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "16.5.0-rc-1"
      }, {
        "fixed" : "16.8.0-rc-1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x7wv-5qg4-vmr6"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32973"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/xwiki/xwiki-platform/commit/1a6f1b2e050770331c9a63d12a3fd8a36d199f62"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/xwiki/xwiki-platform"
  }, {
    "type" : "WEB",
    "url" : "https://jira.xwiki.org/browse/XWIKI-22460"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-29T14:03:13Z",
    "nvd_published_at" : "2025-04-30T15:16:01Z"
  }
}