icon

We found results for “

CVE-2025-49581

Good to know:

icon

Date: June 13, 2025

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.

Severity Score

Severity Score

Weakness Type (CWE)

Improper Control of Generation of Code ('Code Injection')

CWE-94

Execution with Unnecessary Privileges

CWE-250

Privilege Context Switching Error

CWE-270

Top Fix

icon

Upgrade Version

Upgrade to version org.xwiki.platform:xwiki-platform-rendering-wikimacro-store:16.4.7;org.xwiki.platform:xwiki-platform-rendering-wikimacro-store:16.10.3;org.xwiki.platform:xwiki-platform-rendering-wikimacro-store:16.4.7;org.xwiki.platform:xwiki-platform-rendering-wikimacro-store:16.10.3;org.xwiki.platform:xwiki-platform-rendering-wikimacro-store:17.0.0;https://github.com/xwiki/xwiki-platform.git - null;https://github.com/xwiki/xwiki-platform.git - null;https://github.com/xwiki/xwiki-platform.git - xwiki-platform-16.4.7;https://github.com/xwiki/xwiki-platform.git - xwiki-platform-16.10.3

Learn More

CVSS v3.1

Base Score:
Attack Vector (AV): NETWORK
Attack Complexity (AC): LOW
Privileges Required (PR): LOW
User Interaction (UI): NONE
Scope (S): UNCHANGED
Confidentiality (C): HIGH
Integrity (I): HIGH
Availability (A): HIGH

Do you need more information?

Contact Us