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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
xwiki xwiki-platform
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

XWiki Platform是XWiki开源的一套用于创建Web协作应用程序的Wiki平台。 XWiki Platform存在安全漏洞,该漏洞源于用户可通过定义wiki宏执行代码,可能导致远程代码执行。

AI Predicted 8.1 Difficulty: Easy EPSS 0.59% · P46
Get alerts for future matching vulnerabilities Log 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: CVE Program / CVE List V5
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: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
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

Vendor Product Affected Versions CPE Subscribe
xwiki xwiki-platform >= 11.10.11, < 12.0 -

II. Public POCs for CVE-2025-49581

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-49581

请登录查看更多情报信息。

Vendor Advisories for CVE-2025-49581 (2)

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

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

IV. Related Vulnerabilities

V. Comments for CVE-2025-49581

No comments yet


Leave a comment