CVE-2025-49582: Xwiki platform rendering xwiki XWiki's Required Right Warnings For Vulnerability
HIGHCVE-2025-49582 is a HIGH xwiki's required right warnings for vulnerability (CWE-357: Insufficient UI Warning of Dangerous Operations) affecting Xwiki platform rendering xwiki libraries in the Maven ecosystem. The issue involves xwiki's required right warnings for macros are incomplete. Remediation is available by upgrading affected packages to version 16.4.7, 16.10.3, 17.0.0.
CVE-2025-49582 at a Glance
How to Fix CVE-2025-49582
To remediate this vulnerability, upgrade all affected Xwiki platform rendering xwiki 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-rendering-xwiki</artifactId>
<version>16.4.7</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-xwiki</artifactId>
<version>16.10.3</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-xwiki</artifactId>
<version>17.0.0</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-macro-cache</artifactId>
<version>16.4.7</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-macro-cache</artifactId>
<version>16.10.3</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-macro-cache</artifactId>
<version>17.0.0</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-security-requiredrights-default</artifactId>
<version>16.4.7</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-security-requiredrights-default</artifactId>
<version>16.10.3</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-security-requiredrights-default</artifactId>
<version>17.0.0</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-macro-context</artifactId>
<version>16.4.7</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-macro-context</artifactId>
<version>16.10.3</version>
</dependency>
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-rendering-macro-context</artifactId>
<version>17.0.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-49582, 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 rendering xwiki in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.4.7), 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-357: Insufficient UI Warning of Dangerous Operations, where the user interface provides a warning to a user regarding dangerous or sensitive operations, but the warning is not noticeable enough to warrant attention. In Xwiki platform rendering xwiki, 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-49582 Affected Xwiki platform rendering xwiki Versions
12 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.xwiki.platform:xwiki-platform-rendering-xwiki
|
Maven |
≥ 15.9-rc-1
< 16.4.7
|
16.4.7
|
|
org.xwiki.platform:xwiki-platform-rendering-xwiki
|
Maven |
≥ 16.5.0-rc-1
< 16.10.3
|
16.10.3
|
|
org.xwiki.platform:xwiki-platform-rendering-xwiki
|
Maven |
≥ 17.0.0-rc-1
< 17.0.0
|
17.0.0
|
|
org.xwiki.platform:xwiki-platform-rendering-macro-cache
|
Maven |
≥ 15.9-rc-1
< 16.4.7
|
16.4.7
|
|
org.xwiki.platform:xwiki-platform-rendering-macro-cache
|
Maven |
≥ 16.5.0-rc-1
< 16.10.3
|
16.10.3
|
|
org.xwiki.platform:xwiki-platform-rendering-macro-cache
|
Maven |
≥ 17.0.0-rc-1
< 17.0.0
|
17.0.0
|
|
org.xwiki.platform:xwiki-platform-security-requiredrights-default
|
Maven |
≥ 15.9-rc-1
< 16.4.7
|
16.4.7
|
|
org.xwiki.platform:xwiki-platform-security-requiredrights-default
|
Maven |
≥ 16.5.0-rc-1
< 16.10.3
|
16.10.3
|
|
org.xwiki.platform:xwiki-platform-security-requiredrights-default
|
Maven |
≥ 17.0.0-rc-1
< 17.0.0
|
17.0.0
|
|
org.xwiki.platform:xwiki-platform-rendering-macro-context
|
Maven |
≥ 15.9-rc-1
< 16.4.7
|
16.4.7
|
|
org.xwiki.platform:xwiki-platform-rendering-macro-context
|
Maven |
≥ 16.5.0-rc-1
< 16.10.3
|
16.10.3
|
|
org.xwiki.platform:xwiki-platform-rendering-macro-context
|
Maven |
≥ 17.0.0-rc-1
< 17.0.0
|
17.0.0
|
References
Frequently Asked Questions
What is CVE-2025-49582?
Which Xwiki platform rendering xwiki versions are affected?
What version fixes CVE-2025-49582?
Is xwiki-platform-rendering-xwiki affected?
Is xwiki-platform-rendering-macro-cache affected?
What CWE is associated with CVE-2025-49582?
How can I check Maven dependencies for CVE-2025-49582?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c32m-27pj-4xcj",
"modified" : "2025-11-04T09:58:16Z",
"published" : "2025-06-13T20:38:58Z",
"aliases" : [ "CVE-2025-49582" ],
"summary" : "XWiki's required right warnings for macros are incomplete",
"details" : "### Impact\nWhen editing content that contains \"dangerous\" macros like malicious script macros that were authored by a user with fewer rights, XWiki warns about the execution of these macros since XWiki 15.9RC1. These required rights analyzers that trigger these warnings are incomplete, allowing an attacker to hide malicious content. For most macros, the existing analyzers don't consider non-lowercase parameters. Further, most macro parameters that can contain XWiki syntax like titles of information boxes weren't analyzed at all. Similarly, the \"source\" parameters of the content and context macro weren't anylzed even though they could contain arbitrary XWiki syntax. In the worst case, this could allow a malicious to add malicious script macros including Groovy or Python macros to a page that are then executed after another user with programming righs edits the page, thus allowing remote code execution.\n\n### Patches\nThe required rights analyzers have been made more robust and extended to cover those cases in XWiki 16.4.7, 16.10.3 and 17.0.0.\n\n### Workarounds\nWe're not aware of any workarounds except for being careful when editing content authored by untrusted users.\n\n### References\n* https://jira.xwiki.org/browse/XWIKI-22763\n* https://jira.xwiki.org/browse/XWIKI-22759\n* https://jira.xwiki.org/browse/XWIKI-22758\n* https://jira.xwiki.org/browse/XWIKI-22799\n* https://github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8\n* https://github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7\n* https://github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bd\n* https://github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971c",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-xwiki"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.9-rc-1"
}, {
"fixed" : "16.4.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-xwiki"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.5.0-rc-1"
}, {
"fixed" : "16.10.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-xwiki"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0-rc-1"
}, {
"fixed" : "17.0.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-macro-cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.9-rc-1"
}, {
"fixed" : "16.4.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-macro-cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.5.0-rc-1"
}, {
"fixed" : "16.10.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-macro-cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0-rc-1"
}, {
"fixed" : "17.0.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-security-requiredrights-default"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.9-rc-1"
}, {
"fixed" : "16.4.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-security-requiredrights-default"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.5.0-rc-1"
}, {
"fixed" : "16.10.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-security-requiredrights-default"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0-rc-1"
}, {
"fixed" : "17.0.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-macro-context"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.9-rc-1"
}, {
"fixed" : "16.4.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-macro-context"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.5.0-rc-1"
}, {
"fixed" : "16.10.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.xwiki.platform:xwiki-platform-rendering-macro-context"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "17.0.0-rc-1"
}, {
"fixed" : "17.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c32m-27pj-4xcj"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-49582"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bd"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971c"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8"
}, {
"type" : "WEB",
"url" : "https://github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xwiki/xwiki-platform"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-22758"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-22759"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-22763"
}, {
"type" : "WEB",
"url" : "https://jira.xwiki.org/browse/XWIKI-22799"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-357" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-06-13T20:38:58Z",
"nvd_published_at" : "2025-06-13T17:15:23Z"
}
}