CVE-2025-32974: org.xwiki.platform:xwiki-platform-security-requiredrights-default required rights analysis doesn't consider TextAreas with default content type

Published Apr 29, 2025
·
Updated

Impact When editing a page, XWiki warns since version 15.9 when there is content on the page like a script macro that would gain more rights due to the editing. This analysis doesn't consider certain kinds of properties, allowing a user to put malicious scripts in there that will be executed after a user with script, admin, or programming rights edited the page. Such a malicious script could impact the confidentiality, integrity and availability of the whole XWiki installation.

To reproduce, as a user without script right, create a class with a TextArea property, create page with an object of that class and a Velocity macro in its content. Then, as an admin, try editing that page. Normally, there should be a warning but in vulnerable versions of XWiki, there is no warning.

Patches This vulnerability has been patched in XWiki 15.10.8 and 16.2.0.

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 script 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.8 and from 16.0.0-rc-1 to before 16.2.0, the required rights analysis doesn't consider TextAreas with default content type. When editing a page, XWiki warns since version 15.9 when there is content on the page like a script macro that would gain more rights due to the editing. This analysis doesn't consider certain kinds of properties, allowing a user to put malicious scripts in there that will be executed after a user with script, admin, or programming rights edited the page. Such a malicious script could impact the confidentiality, integrity and availability of the whole XWiki installation. This issue has been patched in versions 15.10.8 and 16.2.0.

MITRE

Affected Software

4 affected componentsFixes available
maven/org.xwiki.platform:xwiki-platform-security-requiredrights-default>=16.0.0-rc-1<16.2.0
16.2.0
maven/org.xwiki.platform:xwiki-platform-security-requiredrights-default>=15.9-rc-1<15.10.8
15.10.8
XWiki xwiki>=15.9<15.10.8
XWiki xwiki>=16.0.0<16.2.0

Event History

Apr 29, 2025
Advisory Published
via GitHub·02:05 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 severity of CVE-2025-32974?

CVE-2025-32974 is considered a high severity vulnerability due to potential script execution and privilege escalation.

2

How do I fix CVE-2025-32974?

To fix CVE-2025-32974, upgrade to version 16.2.0 or 15.10.8 of the affected org.xwiki.platform:xwiki-platform-security-requiredrights-default package.

3

What are the affected versions in CVE-2025-32974?

CVE-2025-32974 affects versions from 15.9-rc-1 to 16.0.0-rc-1 of the org.xwiki.platform:xwiki-platform-security-requiredrights-default package.

4

Can CVE-2025-32974 lead to remote code execution?

Yes, CVE-2025-32974 can potentially allow attackers to execute malicious scripts via page edits.

5

Is user input validation impacted by CVE-2025-32974?

Yes, CVE-2025-32974 reveals a weakness in input validation, specifically in handling properties that can be manipulated by attackers.

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