Read the docs
TI-2021-04478 Aliases CVE-2021-21379GHSA-v662-xpcc-9xf6

It's possible to execute anything with the rights of the author of a macro which uses the {{wikimacrocontent}} macro

Priority LOW 34CWE-281Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions of XWiki Platform, the `{{wikimacrocontent}}` executes the content with the rights of the wiki macro author instead of the caller of that wiki macro. This makes possible to inject scripts through it and they will be executed with the rights of the wiki macro (very often a user which has Programming rights). Fortunately, no such macro exists by default in XWiki Standard but one could have been created or installed with an extension. This vulnerability has been patched in versions XWiki 12.6.3, 11.10.11 and 12.8-rc-1. There is no easy workaround other than disabling the affected macros. Inserting content in a safe way or knowing what is the user who called the wiki macro is not easy.

Why it matters now

EPSS 0.00476 41st percentileScored 2026-11-07
Fix Fixed xwiki-platform (xwiki): 11.10.11, 12.6.3, 12.8-rc-1org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven): 11.10.11, 12.6.3, 12.8

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platform11.4.0 to before 11.10.11; 12.0.0 to before 12.6.3; 12.7.0 to before 12.8-rc-111.10.11, 12.6.3, 12.8-rc-1Patch availableCNA
—org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven)11.4 to before 11.10.1111.10.11Patch availableGHSA-v662-xpcc-9xf6
—org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven)12.0 to before 12.6.312.6.3Patch availableGHSA-v662-xpcc-9xf6
—org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven)12.7 to before 12.812.8Patch availableGHSA-v662-xpcc-9xf6
  • xwiki-platform VendorXWiki Affected 11.4.0 to before 11.10.11; 12.0.0 to before 12.6.3; 12.7.0 to before 12.8-rc-1 Fixed in 11.10.11, 12.6.3, 12.8-rc-1 Patch available CNA
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Vendor— Affected 11.4 to before 11.10.11 Fixed in 11.10.11 Patch available GHSA-v662-xpcc-9xf6
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Vendor— Affected 12.0 to before 12.6.3 Fixed in 12.6.3 Patch available GHSA-v662-xpcc-9xf6
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Vendor— Affected 12.7 to before 12.8 Fixed in 12.8 Patch available GHSA-v662-xpcc-9xf6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*11.4 to before 11.10.11; 12.0 to before 12.6.3; 12.7 – 12.7.1VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 11.4 to before 11.10.11; 12.0 to before 12.6.3; 12.7 – 12.7.1 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 11.10.11, 12.6.3, 12.8-rc-1
  • Fix · GHSA-v662-xpcc-9xf6 org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Fixed in 11.10.11 Advisory →
  • Fix · GHSA-v662-xpcc-9xf6 org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Fixed in 12.6.3 Advisory →
  • Fix · GHSA-v662-xpcc-9xf6 org.xwiki.platform:xwiki-platform-rendering-wikimacro-store (Maven) Fixed in 12.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-21379
  2. 2026-10-03 Alias added: GHSA-v662-xpcc-9xf6

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