CVE-2025-32974: Xwiki platform security requiredrights default Xwiki-platform-security-requiredrights-default Required Rights Analysis Doesn't Vulnerability
CRITICALCVE-2025-32974 is a CRITICAL (CVSS 9.0) xwiki-platform-security-requiredrights-default required rights analysis doesn't vulnerability (CWE-116: Improper Encoding or Escaping of Output) affecting Xwiki platform security requiredrights default libraries in the Maven ecosystem. The issue involves xwiki-platform-security-requiredrights-default required rights analysis doesn't consider textareas with default content type. Remediation is available by upgrading affected packages to version 15.10.8, 16.2.0.
CVE-2025-32974 at a Glance
Security Impact
CVSS: 9.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2025-32974
To remediate this vulnerability, upgrade all affected Xwiki platform security requiredrights default dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-security-requiredrights-default</artifactId>
<version>15.10.8</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-security-requiredrights-default</artifactId>
<version>16.2.0</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.xwiki.platform
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-32974, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.xwiki.platform
Analyze the terminal output to locate any version of Xwiki platform security requiredrights default in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.10.8), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.xwiki.platform command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-116: Improper Encoding or Escaping of Output, where the product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. as a result, the intended structure of the message is not preserved. In Xwiki platform security requiredrights default, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-32974 Affected Xwiki platform security requiredrights default Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.xwiki.platform:xwiki-platform-security-requiredrights-default
|
Maven |
≥ 15.9-rc-1
< 15.10.8
|
15.10.8
|
|
org.xwiki.platform:xwiki-platform-security-requiredrights-default
|
Maven |
≥ 16.0.0-rc-1
< 16.2.0
|
16.2.0
|
References
Frequently Asked Questions
What is CVE-2025-32974?
Which Xwiki platform security requiredrights default versions are affected?
What version fixes CVE-2025-32974?
Is xwiki-platform-security-requiredrights-default affected?
What is the CVSS score of CVE-2025-32974?
What CWE is associated with CVE-2025-32974?
How can I check Maven dependencies for CVE-2025-32974?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mvgm-3rw2-7j4r",
"modified" : "2025-04-30T17:29:34Z",
"published" : "2025-04-29T14:05:54Z",
"aliases" : [ "CVE-2025-32974" ],
"summary" : "org.xwiki.platform:xwiki-platform-security-requiredrights-default required rights analysis doesn't consider TextAreas with default content type",
"details" : "### Impact\nWhen 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.\n\nTo 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.\n\n### Patches\nThis vulnerability has been patched in XWiki 15.10.8 and 16.2.0.\n\n### Workarounds\nWe'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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-security-requiredrights-default"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.9-rc-1"
}, {
"fixed" : "15.10.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-security-requiredrights-default"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.0.0-rc-1"
}, {
"fixed" : "16.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-mvgm-3rw2-7j4r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32974"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/153dbfa2ef1a7a0a644fe3f889684c6a8738c5fc"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xwiki/xwiki-platform"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-22002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-116", "CWE-269" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-29T14:05:54Z",
"nvd_published_at" : "2025-04-30T15:16:01Z"
}
}