Read the docs
TI-2025-31594 Aliases CVE-2025-49581GHSA-9875-cw22-f7cx

XWiki allows remote code execution through default value of wiki macro wiki-type parameters

Priority MEDIUM 40CWE-250Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Privilege escalation, Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-250 and CWE-94.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0059 48th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed xwiki-platform (xwiki): 12.0, 12.7, 16.4.7 +2org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven): 16.4.7, 16.10.3, 17.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platform11.10.11 to before 12.0; 12.6.3 to before 12.7; 12.8-rc-1 to before 16.4.7; 16.5.0-rc-1 to before 16.10.3; 17.0.0-rc-1 to before 17.0.012.0, 12.7, 16.4.7, 16.10.3, 17.0.0Patch availableCNA
—org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven)11.10.11 and later—No fix listedGHSA-9875-cw22-f7cx
—org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven)12.6.3 and later—No fix listedGHSA-9875-cw22-f7cx
—org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven)12.8-rc-1 to before 16.4.716.4.7Patch availableGHSA-9875-cw22-f7cx
—org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven)16.5.0-rc-1 to before 16.10.316.10.3Patch availableGHSA-9875-cw22-f7cx
—org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven)17.0.0-rc-1 to before 17.0.017.0.0Patch availableGHSA-9875-cw22-f7cx
  • xwiki-platform VendorXWiki Affected 11.10.11 to before 12.0; 12.6.3 to before 12.7; 12.8-rc-1 to before 16.4.7; 16.5.0-rc-1 to before 16.10.3; 17.0.0-rc-1 to before 17.0.0 Fixed in 12.0, 12.7, 16.4.7, 16.10.3, 17.0.0 Patch available CNA
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Vendor— Affected 11.10.11 and later Fixed in — No fix listed GHSA-9875-cw22-f7cx
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Vendor— Affected 12.6.3 and later Fixed in — No fix listed GHSA-9875-cw22-f7cx
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Vendor— Affected 12.8-rc-1 to before 16.4.7 Fixed in 16.4.7 Patch available GHSA-9875-cw22-f7cx
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Vendor— Affected 16.5.0-rc-1 to before 16.10.3 Fixed in 16.10.3 Patch available GHSA-9875-cw22-f7cx
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Vendor— Affected 17.0.0-rc-1 to before 17.0.0 Fixed in 17.0.0 Patch available GHSA-9875-cw22-f7cx

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*11.10.11 to before 12.0; 12.6.3 to before 12.7; 12.8 to before 16.4.7; 16.5.0 to before 16.10.3VulnerableXWiki
cpe:2.3:a:xwiki:xwiki:17.0.0:rc1:*:*:*:*:*:*17.0.0 rc1VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 11.10.11 to before 12.0; 12.6.3 to before 12.7; 12.8 to before 16.4.7; 16.5.0 to before 16.10.3 Vulnerable ·XWiki
  • cpe:2.3:a:xwiki:xwiki:17.0.0:rc1:*:*:*:*:*:* Versions 17.0.0 rc1 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 12.0, 12.7, 16.4.7, 16.10.3, 17.0.0
  • Fix · GHSA-9875-cw22-f7cx org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Fixed in 16.4.7 Advisory →
  • Fix · GHSA-9875-cw22-f7cx org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Fixed in 16.10.3 Advisory →
  • Fix · GHSA-9875-cw22-f7cx org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Fixed in 17.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-49581
  2. 2026-10-03 Alias added: GHSA-9875-cw22-f7cx

References

  • TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
  • TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
  • TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
  • TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
  • TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
See all 247 →

Sources