Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2025-49581— XWiki allows remote code execution through default value of wiki macro wiki-type parameters

EPSS 3.88% · P88
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2025-49581

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
XWiki allows remote code execution through default value of wiki macro wiki-type parameters
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: NVD (National Vulnerability Database)
Vulnerability Title
XWiki Platform 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
XWiki Platform是XWiki开源的一套用于创建Web协作应用程序的Wiki平台。 XWiki Platform存在安全漏洞,该漏洞源于用户可通过定义wiki宏执行代码,可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
xwikixwiki-platform >= 11.10.11, < 12.0 -

II. Public POCs for CVE-2025-49581

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-49581

登录查看更多情报信息。

Same Patch Batch · xwiki · 2025-06-13 · 8 CVEs total

CVE-2025-49587XWiki does not require right warnings for notification displayer objects
CVE-2025-49586XWiki allows remote code execution through preview of XClass changes in AWM editor
CVE-2025-49585XWiki does not require right warnings for XClass definitions
CVE-2025-49584XWiki makes title of inaccessible pages available through the class property values REST A
CVE-2025-49583XWiki provides no warning when granting XWiki.Notifications.Code.NotificationEmailRenderer
CVE-2025-49582XWiki's required right warnings for macros are incomplete
CVE-2025-49580XWiki allows privilege escalation through link refactoring

IV. Related Vulnerabilities

V. Comments for CVE-2025-49581

No comments yet


Leave a comment