Skip to main content

Xwiki CVE-2025-49580

| EUVDEUVD-2025-18286 HIGH
Incorrect Privilege Assignment (CWE-266)
2025-06-13 security-advisories@github.com GHSA-jm43-hrq7-r7w6
8.0
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Privilege assignment review
Impact

CVSS 8.0 (High) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H indicates significant real-world risk. Attack Vector is Network (exploitable remotely), Attack Complexity is Low (easily reproducible), and Privileges Required are Low (non-administrative users can exploit). However, User Interaction is Required (UI:R), which moderately reduces exploitation probability in automated attack scenarios. The vulnerability requires an authenticated attacker to craft a page with a link and then coordinate a page rename/move operation—a constraint that limits mass exploitation. The Confidentiality, Integrity, and Availability impacts are all High, indicating complete system compromise is possible through script execution. The CWE-266 classification (Improper Privilege Management) is appropriately assigned and suggests the root cause is a logic flaw rather than a memory corruption or injection issue. Without explicit EPSS or KEV data provided, the CVSS score and attack vector suggest this is a real priority for XWiki administrators—particularly those in environments where users have page creation/editing rights. The requirement for user interaction (UI:R) and low privileges (PR:L) make this exploitable by low-privileged collaborators rather than completely unauthenticated attackers, placing it in the medium-to-high real-world risk category depending on organizational trust models.

Exploit ScenarioDerived

An attacker with low-level user privileges in an XWiki instance creates a page (PageA) with a link to another page (PageB). PageA also contains an embedded XObject with malicious Groovy script that would normally be restricted from execution due to the user's lack of 'Script' or 'Programming' rights. An administrator or another user with rename/move permissions then moves or renames PageB. When a user (including the attacker) subsequently visits PageA, the page rendering engine re-evaluates the link to the renamed PageB. Due to the vulnerability, this re-evaluation process incorrectly grants script execution rights to the embedded XObject within PageA. The malicious Groovy script executes with elevated privileges, allowing the attacker to read/modify wiki content, extract user credentials, escalate to administrative privileges, or pivot to the underlying server. The user interaction requirement (UI:R) means either the attacker visits their own malicious page or tricks another user into visiting it, making this a plausible social engineering vector in collaborative environments. No public POC is referenced, but the low attack complexity and network accessibility make weaponization straightforward once discovered.

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

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

Alert me

AnalysisAIv1 – Mar 14, 2026

Privilege escalation vulnerability in XWiki where pages can unexpectedly gain script or programming rights when they contain links to pages that are subsequently renamed or moved. This allows attackers with low privileges to execute arbitrary scripts embedded in XObjects that should have been restricted, potentially leading to complete system compromise. The vulnerability affects XWiki versions 8.2 through 17.0.x and requires user interaction (page visit) to trigger, with patches available in 17.1.0-rc-1, 16.10.4, and 16.4.7.

RemediationAI

Immediate actions: (1) Upgrade to patched versions: 17.1.0-rc-1 (development/RC), 16.10.4 (LTS), or 16.4.7 (legacy) depending on deployment. (2) If immediate patching is not feasible, implement access controls to restrict page creation and link modification privileges to trusted users only. (3) Audit all pages containing links to recently renamed/moved pages and review embedded XObjects for script content. (4) Monitor page rename/move operations and cross-reference with pages containing links to detect exploitation attempts. (5) Disable Groovy/Velocity script execution in XObjects if not required for operational needs, using XWiki's scripting restrictions. (6) Apply the XWiki security advisory patch when available from xwiki.org/security advisories. Workaround (temporary): Restrict the 'Rename' and 'Move' page permissions to administrators only, reducing the attack surface. This does not eliminate the vulnerability for admin-performed operations but limits exposure.

Affected VersionsENISA

xwiki-platform 16.5.0-rc-1, < 16.10.4
xwiki-platform 8.2, < 16.4.7
xwiki-platform 17.0.0-rc-1, < 17.1.0-rc-1
xwiki-platform 7.4.5, < 8.0-milestone-1

Affected Packages

maven org.xwiki.platform:xwiki-platform-refactoring-default fix: 16.4.7, 16.10.4, 17.1.0-rc-1
euvd xwiki_platform_16_5_0_rc_1 fix: 16.10.4
euvd xwiki_platform_17_0_0_rc_1 fix: 17.1.0-rc-1
euvd xwiki_platform_7_4_5 fix: 8.0-milestone-1
euvd xwiki_platform_8_2 fix: 16.4.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 5 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 collaborative wiki platform that supports embedded scripting through XObjects (custom data structures) and Velocity/Groovy templating. The vulnerability stems from a privilege escalation flaw (CWE-266: Improper Privilege Management) in the link resolution and page renaming/moving mechanisms. When a page containing a link is accessed after its target has been renamed or moved, the platform fails to properly re-evaluate and maintain the security context of embedded scripts within XObjects. The affected component likely involves the page rendering engine and link resolution subsystem that does not properly isolate privilege contexts during page metadata updates. The vulnerability chain requires that XObjects with script content remain associated with pages even after their link targets change, bypassing the intended privilege restrictions that would normally prevent script execution in user-editable content.

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:52 vuln.today
Public exploit code
CVE Published
Jun 13, 2025 - 16:15 nvd
HIGH 8.0

DescriptionGitHub Advisory

XWiki is a generic wiki platform. From 8.2 and 7.4.5 until 17.1.0-rc-1, 16.10.4, and 16.4.7, pages can gain script or programming rights when they contain a link and the target of the link is renamed or moved. This might lead to execution of scripts contained in xobjects that should have never been executed. This vulnerability is fixed in 17.1.0-rc-1, 16.10.4, and 16.4.7.

Executive ViewAI

Why It Matters

XWiki instances are vulnerable to privilege escalation attacks where malicious scripts can gain execution rights through renamed or moved page links, potentially allowing unauthorized code execution. Organizations running XWiki 8.2+ must patch immediately, as public exploits exist and the vulnerability requires minimal attacker interaction to exploit.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching cannot be completed immediately: restrict page creation/editing permissions to trusted administrators only; disable script execution in xobjects where possible; implement network-level access controls to limit XWiki access to authorized users; monitor audit logs for suspicious page rename/move activities and xobject execution attempts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 45% exploitable
Threat Intel
1
1 source
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.3%
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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