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

Published Apr 29, 2025
·
Updated

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.

Other sources

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.

MITRE

Affected Software

6 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-component-wiki>=16.5.0-rc-1<16.8.0-rc-1
16.8.0-rc-1
maven/org.xwiki.platform:xwiki-platform-component-wiki>=16.0.0-rc-1<16.4.3
16.4.3
maven/org.xwiki.platform:xwiki-platform-component-wiki>=15.9-rc-1<15.10.12
15.10.12
XWiki xwiki>=15.9<15.10.12
XWiki xwiki>=16.0.0<16.4.3
XWiki xwiki>=16.5.0<16.8.0

Event History

Apr 29, 2025
Advisory Published
via GitHub·02:03 PM
Apr 30, 2025
CVE Published
via MITRE·02:55 PM
Data Sourced
via MITRE·02:55 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the impact of CVE-2025-32973?

CVE-2025-32973 allows an attacker to gain programming rights on a document without proper warnings when edited by a user with programming rights.

2

What versions are affected by CVE-2025-32973?

CVE-2025-32973 affects versions of XWiki from 15.9-rc-1 up to 16.8.0-rc-1.

3

How do I mitigate the risks of CVE-2025-32973?

To mitigate CVE-2025-32973, update to version 15.10.12, 16.4.3, or 16.8.0-rc-1 of XWiki.

4

Is there a fix available for CVE-2025-32973?

Yes, CVE-2025-32973 can be fixed by upgrading to the recommended versions of XWiki.

5

Who is potentially impacted by CVE-2025-32973?

Any user with programming rights editing documents containing malicious components can be impacted by CVE-2025-32973.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203