Improper privilege management in XWiki platform - CVE-2025-49581

 

Improper privilege management in XWiki platform - CVE-2025-49581

Published: May 5, 2026


Vulnerability identifier: #VU129881
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-49581
CWE-ID: CWE-269
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper privilege management in wiki macro wiki-type parameters when processing default parameter values in a wiki macro used by a document with programming rights. A remote user can define or override a wiki macro with a crafted default parameter value to execute arbitrary code.

Exploitation requires edit rights on a page and can lead to execution with the programming rights of the author of the document where the macro is used.


Affected software

XWiki platform

How to mitigate CVE-2025-49581

Install security update from vendor's website.

XWiki platform - addressed in versions 16.4.7, 16.10.3, 17.0.0

External References

Related Security Bulletins