Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-component-wiki
  4. ›
  5. CVE-2025-32973

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

April 29, 2025 (updated April 30, 2025)

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.

References

  • github.com/advisories/GHSA-x7wv-5qg4-vmr6
  • github.com/xwiki/xwiki-platform
  • github.com/xwiki/xwiki-platform/commit/1a6f1b2e050770331c9a63d12a3fd8a36d199f62
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-x7wv-5qg4-vmr6
  • jira.xwiki.org/browse/XWIKI-22460
  • nvd.nist.gov/vuln/detail/CVE-2025-32973

Code Behaviors & Features

Detect and mitigate CVE-2025-32973 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 15.9-rc-1 before 15.10.12, all versions starting from 16.0.0-rc-1 before 16.4.3, all versions starting from 16.5.0-rc-1 before 16.8.0-rc-1

Fixed versions

  • 15.10.12
  • 16.4.3
  • 16.8.0-rc-1

Solution

Upgrade to versions 15.10.12, 16.4.3, 16.8.0-rc-1 or above.

Impact 9 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

maven/org.xwiki.platform/xwiki-platform-component-wiki/CVE-2025-32973.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.