GHSA-9875-cw22-f7cx · Severity: high · Ecosystem: maven — XWiki allows remote code execution through default value of wiki macro wiki-type parameters
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.
Conclusion & alert: CVE-2025-49581 is rated High Exploit Risk (82.8/100): CVSS High severity, with medium exploitation likelihood (EPSS 3.88%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +2.13% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-09 | 1.75% | 3.88% | +2.13% |
| 2 | 2026-03-30 | 1.58% | 1.75% | +0.17% |
| 3 | 2026-02-27 | — | 1.58% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.7 | 4.0 | HIGH |
|
— | — | [email protected] |
| 8.8 | 3.1 | HIGH |
|
2.8 | 5.9 | [email protected] |
GHSA-9875-cw22-f7cx · Severity: high · Ecosystem: maven — XWiki allows remote code execution through default value of wiki macro wiki-type parameters
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| xwiki | xwiki | >= 11.10.11, < 12.0 | cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
| xwiki | xwiki | >= 12.6.3, < 12.7 | cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
| xwiki | xwiki | >= 12.8, < 16.4.7 | cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
| xwiki | xwiki | >= 16.5.0, < 16.10.3 | cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
| xwiki | xwiki | 17.0.0 | cpe:2.3:a:xwiki:xwiki:17.0.0:rc1:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/xwiki/xwiki-platform/commit/c99d501ed41cbee6a3c02ff927714531570789de | Patch |
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-9875-cw22-f7cx | Vendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-22760 | Exploit Issue Tracking Vendor Advisory |