CVE-2025-49582: xwiki-platform · Insufficient UI Warning of Dangerous Operations
Affects xwiki-platformSource CVE Database V5
Not known to be exploited · CVSS 8.6 High · fixed in 17.0.0 : patch xwiki-platform soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 59% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 17.0.0, 16.10.3, 16.4.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade org.xwiki/xwiki-platform to 17.0.0, 16.10.3 or 16.4.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.xwiki/xwiki-platformpkg:maven/org.xwiki/xwiki-platformOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediate upgrade: Organizations should promptly upgrade all XWiki instances to versions 16.4.7, 16.10.3, or 17.0.0 or later, where the vulnerability has been fixed.
- Privilege review: Conduct a thorough audit of user permissions, especially focusing on users with programming rights. Limit these privileges strictly to essential personnel to reduce the risk of malicious macro execution.
- Macro usage policy: Implement strict policies governing the creation and editing of macros. Disable or restrict the use of Groovy and Python macros unless absolutely necessary.
- Input validation enhancements: Where possible, apply additional input validation or sanitization on macro parameters, particularly those that can contain XWiki syntax or script content, to detect and block suspicious inputs.
- Monitoring and alerting: Deploy monitoring solutions to detect unusual editing activities by privileged users and anomalous macro insertions. Set up alerts for any macro executions that deviate from normal patterns.
- User training: Educate users with programming rights about the risks of editing untrusted content and the importance of verifying macro content before saving changes.
- Network segmentation: Isolate XWiki servers within secure network segments to limit the potential impact of a successful exploit.
- Backup and recovery: Maintain regular backups of XWiki content and configurations to enable rapid restoration in case of compromise.
Description
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.
References
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-c32m-27pj-4xcj (opens in a new tab)
- github.com/xwiki/xwiki-platform/commit/0a705e8e253cb871b804e25c53b2bde879c886bd (opens in a new tab)
- github.com/xwiki/xwiki-platform/commit/3d451e957fe2b14459e9ac64172b4a0e4c46971c (opens in a new tab)
- github.com/xwiki/xwiki-platform/commit/abdcefc0db27035b67329add836fd683e0cf92b8 (opens in a new tab)
- github.com/xwiki/xwiki-platform/commit/cc74dc802efe0e2d3fa2ba3355dbadc51c5fd8c7 (opens in a new tab)
- jira.xwiki.org/browse/XWIKI-22758 (opens in a new tab)
- jira.xwiki.org/browse/XWIKI-22759 (opens in a new tab)
- jira.xwiki.org/browse/XWIKI-22763 (opens in a new tab)
- jira.xwiki.org/browse/XWIKI-22799 (opens in a new tab)