High severity · published Jun 13, 2025
CVE-2025-49581
XWiki is a generic wiki platform
8.8
CVSS
0.6%
EPSS
No
On KEV
Description
XWiki is a generic wiki platform. Any user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki installation. The main problem is that if a wiki macro parameter allows wiki syntax, its default value is executed with the rights of the author of the document where it is used. This can be exploited by overriding a macro like the children macro that is used in a page that has programming right like the page XWiki.ChildrenMacro and thus allows arbitrary script macros. This vulnerability has been patched in XWiki 16.4.7, 16.10.3 and 17.0.0 by executing wiki parameters with the rights of the wiki macro's author when the parameter's value is the default value.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XW
Xwiki · Xwiki
11.10.11 before 12.0; 12.6.3 before 12.7; 12.8 before 16.4.7; 16.5.0 before 16.10.3; 17.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-49581
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-49581
Patch
https://github.com/xwiki/xwiki-platform/commit/c99d501ed41cbee6a3c02ff927714531570789de
Vendor Advisory
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9875-cw22-f7cx
Exploit
https://jira.xwiki.org/browse/XWIKI-22760
More from Xwiki
9.8
CVE-2025-24893
Remote code execution as guest via SolrSearchMacros request in xwiki
9.9
CVE-2023-27479
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it
9.8
CVE-2026-33229
XWiki Platform affected by remote code execution with script right through unprotected Velocity scripting API
9.8
CVE-2025-54385
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it
9.8
CVE-2025-32429
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it
