Loading...
Skip to main content

CVE-2025-32973 — Vulnerability in...

CRITICAL

org.xwiki.platform:xwiki-platform-component-wiki provides no warning when granting XWiki.ComponentClass programming right

Published April 29, 2025Updated April 30, 2025Source: osv

Summary

### 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.

Advisory Timeline

  • First published April 29, 2025 (531 days ago).
  • Last revised April 30, 2025 — 1 day after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.xwiki.platform:xwiki-platform-component-wiki to 16.8.0-rc-1 or later
<!-- Update pom.xml dependency version to 16.8.0-rc-1 for org.xwiki.platform:xwiki-platform-component-wiki -->
Maven
Update org.xwiki.platform:xwiki-platform-component-wiki to 15.10.12 or later
<!-- Update pom.xml dependency version to 15.10.12 for org.xwiki.platform:xwiki-platform-component-wiki -->
Maven
Update org.xwiki.platform:xwiki-platform-component-wiki to 16.4.3 or later
<!-- Update pom.xml dependency version to 16.4.3 for org.xwiki.platform:xwiki-platform-component-wiki -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.xwiki.platform:xwiki-platform-component-wiki
maven
All versions16.8.0-rc-1
org.xwiki.platform:xwiki-platform-component-wiki
maven
All versions15.10.12
org.xwiki.platform:xwiki-platform-component-wiki
maven
All versions16.4.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-862
    Missing AuthorizationMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-32973?
org.xwiki.platform:xwiki-platform-component-wiki provides no warning when granting XWiki.ComponentClass programming right This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.0/10).
How do I check if my project is affected by CVE-2025-32973?
CVE-2025-32973 affects org.xwiki.platform:xwiki-platform-component-wiki. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-32973 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-x7wv-5qg4-vmr6

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies