CVE-2025-49582 in Xwiki
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, allowin...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Xwiki | Xwiki | 17.0.0 ≥ 15.9, < 16.4.7 ≥ 16.5.0, < 16.10.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-49582 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-038824-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| Published | 2025-06-13 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-357: CWE-357
Analysis AI-written, not human-reviewed
CVE-2025-49582 affects XWiki, a generic wiki platform, by allowing attackers to hide malicious content through incomplete required rights analyzers for macros.
An attacker can craft malicious script macros that bypass the existing analyzers designed to warn about the execution of dangerous macros. This is possible due to the incomplete implementation of these analyzers, which fail to detect and flag certain types of malicious content.
Questions
What is CVE-2025-49582?
CVE-2025-49582 affects XWiki, a generic wiki platform, by allowing attackers to hide malicious content through incomplete required rights analyzers for macros.
What is the CVSS score for CVE-2025-49582?
CVE-2025-49582 has CVSS 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. EPSS: 3.4%.
Is CVE-2025-49582 actively exploited?
No confirmed active exploitation of CVE-2025-49582 as of 2026-09-25.
How do I remediate CVE-2025-49582?
Priority: HIGH. Advisory: https://jira.xwiki.org/browse/XWIKI-22758 PSIRT: [email protected]
What systems are affected by CVE-2025-49582?
CVE-2025-49582 affects Xwiki Xwiki.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.