Vulnerability · Published Apr 30, 2025 · Assigned by GitHub_M
CVE-2025-32973org.xwiki.platform:xwiki-platform-component-wiki provides no warning when granting XWiki.ComponentClass programming right
Critical 9.1
In plain English
A critical-severity missing authorization in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki is a generic wiki platform. In versions starting from 15.9-rc-1 to before 15.10.12, from 16.0.0-rc-1 to before 16.4.3, and from 16.5.0-rc-1 to before 16.8.0-rc-1, when a user with programming rights edits a document in XWiki that was last edited by a user without programming rights and contains an XWiki.ComponentClass, there is no warning that this will grant programming rights to this object. An attacker who created such a malicious object could use this to gain programming rights on the wiki. For this, the attacker needs to have edit rights on at least one page to place this object and then get an admin user to edit that document. This issue has been patched in versions 15.10.12, 16.4.3, and 16.8.0-rc-1.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-component-wiki | 15.10.12 | GHSA-x7wv-5qg4-vmr6 |
| Maven | org.xwiki.platform:xwiki-platform-component-wiki | 16.4.3 | GHSA-x7wv-5qg4-vmr6 |
| Maven | org.xwiki.platform:xwiki-platform-component-wiki | 16.8.0-rc-1 | GHSA-x7wv-5qg4-vmr6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 15.9-rc-1, < 15.10.12>= 16.0.0-rc-1, < 16.4.3>= 16.5.0-rc-1, < 16.8.0-rc-1 |
Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x7wv-5qg4-vmr6 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/1a6f1b2e050770331c9a63d12a3fd8a36d199f62 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-22460 x_refsource_MISC