Skip to main content

Xwiki CVE-2025-49582

| EUVDEUVD-2025-18293 HIGH
Insufficient UI Warning of Dangerous Operations (CWE-357)
2025-06-13 security-advisories@github.com GHSA-c32m-27pj-4xcj
8.0
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V6 - Authentication Insufficient UI warning of dangerous op
Impact

This vulnerability presents HIGH real-world risk despite requiring low attack complexity (PR:L, UI:R). Risk signals: CVSS 8.0 indicates high confidentiality, integrity, and availability impact with network accessibility. The requirement for Low privileges (PR:L) and user interaction (UI:R) reduces immediate exploitability but doesn't diminish impact—once a higher-privileged user edits the poisoned page, RCE occurs with full system compromise. The vulnerability follows a privilege escalation pattern: low-privilege attacker creates hidden payload, high-privilege user inadvertently triggers execution. No KEV or public POC data provided, but the technical simplicity of the bypass (case variation, parameter obfuscation) suggests moderate exploitation probability. Organizational risk depends heavily on wiki access control: if regular users can create/edit pages, likelihood increases substantially. This should be prioritized for patching in internet-facing XWiki instances.

Exploit ScenarioDerived

An authenticated low-privilege user (e.g., regular content editor without programming rights) creates a wiki page containing a hidden malicious Groovy macro. The attacker obfuscates the macro by: (1) using uppercase variant 'Script' instead of 'script' to bypass lowercase-only analyzer; (2) embedding the malicious code in a macro parameter that should only contain display text, like a box title parameter that isn't analyzed; or (3) using the 'source' parameter of a context macro to inject arbitrary XWiki syntax that includes a Groovy macro. The unanalyzing rights system fails to warn about the hidden payload. Days later, an administrator with programming rights edits the page to fix a typo. Upon saving, XWiki reprocesses the page macros and executes the hidden Groovy code with the administrator's privileges, achieving remote code execution on the server. The attacker gains ability to read/modify database contents, access system files, or pivot to internal network. No user-visible warning occurred because the analyzer missed the obfuscated parameters. Attack complexity is low—standard wiki editing interface, no special tools required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

XWiki's macro rights analyzer introduced in version 15.9RC1 contains incomplete validation that allows attackers to hide malicious script macros (Groovy, Python) by exploiting non-lowercase parameter handling and unanalyzed macro parameters. An authenticated attacker with limited privileges can inject hidden malicious macros that execute when a higher-privileged user edits the page, enabling remote code execution. This vulnerability affects XWiki versions 15.9RC1 through 16.4.6, 16.10.0-16.10.2, and 16.x-17.0.0-rc1, with patches available in versions 16.4.7, 16.10.3, and 17.0.0.

RemediationAI

  • priority: CRITICAL; action: Upgrade to patched versions; details: Apply security patches immediately: XWiki 16.4.7, 16.10.3, or 17.0.0 depending on installed branch. These versions include enhanced rights analyzers that properly validate macro parameters regardless of case, analyze parameters containing XWiki syntax, and inspect 'source' parameters in content/context macros.
  • priority: HIGH; action: Access control hardening; details: Restrict edit permissions to trusted users only. Disable or restrict macro usage (especially script/Groovy/Python macros) for non-programming users through XWiki permission model. Review existing page history for suspicious macro usage patterns, particularly case-variant parameters or obfuscated source attributes.
  • priority: MEDIUM; action: Detection and monitoring; details: Enable audit logging for page edits. Monitor for macros with mixed-case parameters (e.g., 'Script' vs 'script', 'SCRIPT') and 'source' parameters containing embedded syntax. Search wiki content for patterns: {{script...}}, {{groovy...}}, {{python...}} with non-standard casing or source parameter usage.
  • priority: LOW; action: Temporary mitigation (if patching delayed); details: Disable dangerous macro types (Script, Groovy, Python) via XWiki configuration if not required for operations. This removes attack surface but may break dependent functionality. Requires configuration rebuild and wiki restart.

Affected VersionsENISA

xwiki-platform 16.5.0-rc-1, < 16.10.3
xwiki-platform 17.0.0-rc-1, < 17.0.0
xwiki-platform 15.9-rc-1, < 16.4.7

Affected Packages

maven org.xwiki.platform:xwiki-platform-rendering-macro-cache fix: 16.4.7, 16.10.3, 17.0.0
maven org.xwiki.platform:xwiki-platform-rendering-macro-context fix: 16.4.7, 16.10.3, 17.0.0
maven org.xwiki.platform:xwiki-platform-rendering-xwiki fix: 16.4.7, 16.10.3, 17.0.0
maven org.xwiki.platform:xwiki-platform-security-requiredrights-default fix: 16.4.7, 16.10.3, 17.0.0
euvd xwiki_platform_15_9_rc_1 fix: 16.4.7
euvd xwiki_platform_16_5_0_rc_1 fix: 16.10.3
euvd xwiki_platform_17_0_0_rc_1 fix: 17.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 7 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

XWiki is a Java-based wiki platform that supports dynamic macro execution including dangerous macros (script, Groovy, Python) that require programming rights. The vulnerability stems from incomplete implementation of CWE-357 (Insufficient UI Warning of Dangerous Operations), specifically in the rights analyzer components introduced to warn users about macro execution risks. The root cause involves three distinct gaps: (1) parameter analysis limited to lowercase variants, allowing case-variant bypass; (2) failure to analyze macro parameters containing XWiki syntax such as information box titles; (3) insufficient analysis of 'source' parameters in content and context macros that can embed arbitrary XWiki syntax. The analyzer should prevent users without programming rights from silently injecting executable macros, but the incomplete checks allow obfuscation techniques to bypass these safeguards.

Know when Xwiki gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.0 HIGH
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 14, 2026 - 21:34 nvd
Patch available
PoC Detected
Sep 03, 2025 - 17:50 vuln.today
Public exploit code
CVE Published
Jun 13, 2025 - 17:15 nvd
HIGH 8.0

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

CVE-2025-49582 is a critical remote code execution vulnerability in XWiki that allows attackers to bypass security warnings and inject malicious code into wiki pages. When users with administrative privileges subsequently edit these compromised pages, the hidden malicious macros execute with full programming rights, potentially compromising system integrity and sensitive data.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) restrict wiki editing permissions to high-trust users only; (2) disable or restrict Groovy and Python macro execution via XWiki configuration; (3) implement WAF rules to monitor for suspicious macro parameters containing script syntax; (4) require administrative review and approval for all page edits; (5) isolate XWiki instances containing sensitive data from production networks until patched.

Threat Intelligence Overview

EPSS Score
0.6%
Top 31% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

61
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in Xwiki

View all
CVE-2025-24893 CRITICAL POC
9.8 Feb 20

XWiki Platform allows unauthenticated remote code execution through the SolrSearch endpoint, enabling guests to execute

CVE-2024-21650 CRITICAL POC
10.0 Jan 08

XWiki Platform prior to specific patched versions contains a CVSS 10.0 remote code execution vulnerability through the u

CVE-2025-32969 CRITICAL POC
9.3 Apr 23

XWiki is a generic wiki platform. Rated critical severity (CVSS 9.3), this vulnerability is remotely exploitable, no aut

CVE-2023-27479 CRITICAL POC
9.9 Mar 07

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical

CVE-2023-26055 CRITICAL POC
9.9 Mar 02

XWiki Commons are technical libraries common to several other top level XWiki projects. Rated critical severity (CVSS 9.

CVE-2024-31996 CRITICAL POC
9.8 Apr 10

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2024-31982 CRITICAL POC
9.8 Apr 10

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2023-46731 CRITICAL POC
9.8 Nov 06

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical

CVE-2023-26477 CRITICAL POC
9.8 Mar 02

XWiki Platform is a generic wiki platform. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2025-52472 CRITICAL POC
9.3 Oct 06

Unauthenticated HQL injection in the XWiki Platform REST search API lets remote attackers inject arbitrary Hibernate Que

CVE-2025-55747 CRITICAL POC
9.3 Sep 03

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Rated critical

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy