CVE-2025-32974 — Vulnerability in xwiki-platform-se…ts-default
org.xwiki.platform:xwiki-platform-security-requiredrights-default required rights analysis doesn't consider TextAreas with default content type
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.92%). Schedule for your next planned update.
Does your project use an affected org.xwiki.platform:xwiki-platform-security-requiredrights-default version?
Paste your pom.xml to check it for CVE-2025-32974 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published April 29, 2025 (577 days ago).
- Last revised April 30, 2025 — 1 day after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 16.2.0 for org.xwiki.platform:xwiki-platform-security-requiredrights-default -->
<!-- Update pom.xml dependency version to 15.10.8 for org.xwiki.platform:xwiki-platform-security-requiredrights-default -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.xwiki.platform:xwiki-platform-security-requiredrights-default Maven · Affected: All versions | 16.2.0 |
| org.xwiki.platform:xwiki-platform-security-requiredrights-default Maven · Affected: All versions | 15.10.8 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.0 score means for each attack dimension.
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-mvgm-3rw2-7j4rWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-32974ADVISORY
- https://github.com/xwiki/xwiki-platform/commit/153dbfa2ef1a7a0a644fe3f889684c6a8738c5fcWEB
- https://github.com/xwiki/xwiki-platformPACKAGE
- https://jira.xwiki.org/browse/XWIKI-22002WEB
Frequently Asked Questions
- What is CVE-2025-32974?
- org.xwiki.platform:xwiki-platform-security-requiredrights-default required rights analysis doesn't consider TextAreas with default content type. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.0/10).
- How do I check if my project is affected by CVE-2025-32974?
- CVE-2025-32974 affects org.xwiki.platform:xwiki-platform-security-requiredrights-default. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-32974 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 58.4% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2023-29514CRITICAL
XWiki vulnerable to Code Injection in template provider administration
- CVE-2023-36470CRITICAL
XWiki Platform vulnerable to Code Injection in icon themes
- CVE-2023-34464CRITICAL
XWiki vulnerable to stored cross-site scripting via any wiki document and the displaycontent/rendercontent template
- CVE-2023-45134CRITICAL
XWiki Platform XSS vulnerability from account in the create page form via template provider
- CVE-2025-55747CRITICAL
XWiki configuration files can be accessed through the webjars API
- CVE-2025-49585HIGH
XWiki does not require right warnings for XClass definitions
- CVE-2023-29207HIGH
Improper Neutralization of Script-Related HTML Tags (XSS) in the LiveTable Macro
- CVE-2025-49582HIGH
XWiki's required right warnings for macros are incomplete