XWiki's required right warnings for macros are incomplete
CVE-2025-49582Published 13 Jun 2025, 16:41 UTC
Real-world risk
3.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.6
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| xwiki-platformCommon | >= 15.9-rc-1, < 16.4.7; >= 16.5.0-rc-1, < 16.10.3; >= 17.0.0-rc-1, < 17.0.0 | 16.4.7, 16.10.3, 17.0.0 |
What to do
Update to a fixed version: 16.4.7, 16.10.3, 17.0.0.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.0% chance of exploitation in 30 days (percentile 63), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.420
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.42 × threat 0.853.570
- Rounded to one decimal between 0.1 and 103.6
Exploitation and evidence timeline
- 13 Jun 2025 Published
- 3 Dec 2026 Risk 3.6 (cvss fallback)
Weakness
CWE-357
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c32m-27pj-4xcjvendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bdmisc
- https://github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971cmisc
- https://github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8misc
- https://github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7misc
- https://jira.xwiki.org/browse/XWIKI-22758misc
- https://jira.xwiki.org/browse/XWIKI-22759misc
- https://jira.xwiki.org/browse/XWIKI-22763misc
- https://jira.xwiki.org/browse/XWIKI-22799misc
- CVE-2025-49582 on CVE.org