CVE-2025-32973
criticalpriority · track · 36OT risk · elevatedEPSS 0.004 · 34 %ileDEEURUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 8.2–9.1
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
- Maven org.xwiki.platform:xwiki-platform-component-wiki15.9-rc-1 → 15.10.12osvUSpkg:maven/org.xwiki.platform/xwiki-platform-component-wiki
- Maven org.xwiki.platform:xwiki-platform-component-wiki16.0.0-rc-1 → 16.4.3osvUSpkg:maven/org.xwiki.platform/xwiki-platform-component-wiki
- Maven org.xwiki.platform:xwiki-platform-component-wiki16.5.0-rc-1 → 16.8.0-rc-1osvUSpkg:maven/org.xwiki.platform/xwiki-platform-component-wiki
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0898xwiki: Mehrere SchwachstellenDeutsch2025-04-28csaf · cert_bundDE
Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in xwiki ausnutzen, um falsche Informationen darzustellen, einen Denial-of-Service auszulösen, Benutzerrechte zu erlangen oder Cross-Site-Scripting durchzuführen.
- GHSA-x7wv-5qg4-vmr6org.xwiki.platform:xwiki-platform-component-wiki provides no warning when granting XWiki.ComponentClass programming right2025-04-29ghsa · osvUS
### 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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/xwiki/xwiki-platform/commit/1a6f1b2e050770331c9a63d12a3fd8a36d199f62cnnvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x7wv-5qg4-vmr6cnnvd
- https://jira.xwiki.org/browse/XWIKI-22460cnnvd
- https://www.xwiki.org/xwiki/bin/view/Download/Patchcnnvd
- https://github.com/xwiki/xwiki-platform/commit/1a6f1b2e050770331c9a63d12a3fd8a36d199f62enisa_euvd
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-x7wv-5qg4-vmr6enisa_euvd
- https://jira.xwiki.org/browse/XWIKI-22460enisa_euvd
- https://github.com/xwiki/xwiki-platform/commit/1a6f1b2e050770331c9a63d12a3fd8a36d199f62Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan