XWiki's required right warnings for macros are incomplete
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
XWiki is a generic wiki platform. When editing content that contains "dangerous" macros like malicious script macros that were authored by a user with fewer rights, XWiki warns about the execution of these macros since XWiki 15.9RC1. These required rights analyzers that trigger these warnings are incomplete, allowing an attacker to hide malicious content. For most macros, the existing analyzers don't consider non-lowercase parameters. Further, most macro parameters that can contain XWiki syntax like titles of information boxes weren't analyzed at all. Similarly, the "source" parameters of the content and context macro weren't anylzed even though they could contain arbitrary XWiki syntax. In the worst case, this could allow a malicious to add malicious script macros including Groovy or Python macros to a page that are then executed after another user with programming righs edits the page, thus allowing remote code execution. The required rights analyzers have been made more robust and extended to cover those cases in XWiki 16.4.7, 16.10.3 and 17.0.0.
Why it matters now
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 15.9-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 | 16.4.7, 16.10.3, 17.0.0 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) | 15.9-rc-1 to before 16.4.7 | 16.4.7 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) | 16.5.0-rc-1 to before 16.10.3 | 16.10.3 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) | 17.0.0-rc-1 to before 17.0.0 | 17.0.0 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) | 15.9-rc-1 to before 16.4.7 | 16.4.7 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) | 16.5.0-rc-1 to before 16.10.3 | 16.10.3 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) | 17.0.0-rc-1 to before 17.0.0 | 17.0.0 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) | 15.9-rc-1 to before 16.4.7 | 16.4.7 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) | 16.5.0-rc-1 to before 16.10.3 | 16.10.3 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) | 17.0.0-rc-1 to before 17.0.0 | 17.0.0 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) | 15.9-rc-1 to before 16.4.7 | 16.4.7 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) | 16.5.0-rc-1 to before 16.10.3 | 16.10.3 | Patch available | GHSA-c32m-27pj-4xcj |
| — | org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) | 17.0.0-rc-1 to before 17.0.0 | 17.0.0 | Patch available | GHSA-c32m-27pj-4xcj |
- xwiki-platform VendorXWiki Affected 15.9-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 16.4.7, 16.10.3, 17.0.0 Patch available CNA
- org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) Vendor— Affected 15.9-rc-1 to before 16.4.7 Fixed in 16.4.7 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) Vendor— Affected 16.5.0-rc-1 to before 16.10.3 Fixed in 16.10.3 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) Vendor— Affected 17.0.0-rc-1 to before 17.0.0 Fixed in 17.0.0 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) Vendor— Affected 15.9-rc-1 to before 16.4.7 Fixed in 16.4.7 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) Vendor— Affected 16.5.0-rc-1 to before 16.10.3 Fixed in 16.10.3 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) Vendor— Affected 17.0.0-rc-1 to before 17.0.0 Fixed in 17.0.0 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Vendor— Affected 15.9-rc-1 to before 16.4.7 Fixed in 16.4.7 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Vendor— Affected 16.5.0-rc-1 to before 16.10.3 Fixed in 16.10.3 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Vendor— Affected 17.0.0-rc-1 to before 17.0.0 Fixed in 17.0.0 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) Vendor— Affected 15.9-rc-1 to before 16.4.7 Fixed in 16.4.7 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) Vendor— Affected 16.5.0-rc-1 to before 16.10.3 Fixed in 16.10.3 Patch available GHSA-c32m-27pj-4xcj
- org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) Vendor— Affected 17.0.0-rc-1 to before 17.0.0 Fixed in 17.0.0 Patch available GHSA-c32m-27pj-4xcj
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 16.4.7, 16.10.3, 17.0.0
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) Fixed in 16.4.7 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) Fixed in 16.10.3 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-xwiki (Maven) Fixed in 17.0.0 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) Fixed in 16.4.7 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) Fixed in 16.10.3 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-macro-cache (Maven) Fixed in 17.0.0 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Fixed in 16.4.7 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Fixed in 16.10.3 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-security-requiredrights-default (Maven) Fixed in 17.0.0 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) Fixed in 16.4.7 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) Fixed in 16.10.3 Advisory →
- Fix · GHSA-c32m-27pj-4xcj org.xwiki.platform:xwiki-platform-rendering-macro-context (Maven) Fixed in 17.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-49582
- 2026-10-03 Alias added: GHSA-c32m-27pj-4xcj
References
Exploit 4
Patch 4
- https://github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bd
- https://github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971c
- https://github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8
- https://github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7
Advisory 2
More Xwiki vulnerabilities
- 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
Sources
- CVE-2025-49582 · CVE Program
- CVE-2025-49582 · NVD
- FIRST EPSS
- GHSA-c32m-27pj-4xcj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences