Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with script right privileges
-
DeliveryAccess Velocity scripting API
-
ExploitBypass sandbox restrictions
-
ExecutionExecute arbitrary Python code
-
ImpactAchieve full XWiki instance compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Attacker must be an authenticated XWiki user with script right permissions. XWiki versions before 17.4.8 and 17.10.1 are affected. The vulnerability allows bypassing Velocity scripting API sandboxing to execute arbitrary code, requiring no victim interaction. |
| Impact | Real-world risk is elevated but contextually limited. The vulnerability requires pre-existing script right access, which XWiki documentation explicitly recommends restricting to trusted users. This substantially reduces the attack surface compared to unauthenticated vulnerabilities. However, the impact upon successful exploitation is complete system compromise with arbitrary code execution capabilities. Organizations following XWiki's security guidance of limiting script rights to trusted personnel face minimal exposure, as the vulnerability cannot be triggered by standard authenticated users or anonymous attackers. The primary risk scenario involves insider threats or compromised accounts with script privileges, or organizations that have inappropriately granted script rights to semi-trusted or untrusted users. Without CVSS scoring, EPSS data, or KEV listing, we cannot quantify exploitation probability, but the technical barrier (requiring existing elevated privileges) and absence of public exploit code suggest this is not an immediate mass-exploitation threat. Priority should align with your organization's script right assignment practices: high priority if script rights are broadly distributed, moderate if properly restricted to administrators. |
| Exploit ScenarioDerived | An attacker who has obtained or been granted script right access to an XWiki instance (for example, a malicious insider, compromised content editor account, or user in an organization with overly permissive privilege assignments) creates a wiki page containing Velocity script code that invokes the improperly protected scripting API. Through this API, the attacker executes arbitrary Python code outside the Velocity sandbox, installing a persistent web shell or extracting the entire XWiki database including credentials, sensitive documents, and configuration data. The attacker maintains persistence and full control over the XWiki instance despite having only script-level credentials, effectively achieving programming-right-equivalent access without proper authorization. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Privilege escalation in XWiki Platform 17.x allows users with script rights to execute arbitrary Python code via an improperly protected scripting API, bypassing Velocity sandbox protections and gaining full system access. This affects XWiki Platform oldcore and legacy-oldcore components prior to versions 17.4.8 and 17.10.1. While requiring existing script-level privileges, the vulnerability enables complete compromise of confidentiality, integrity, and availability. Vendor-released patch available; no public exploit identified at time of analysis.
RemediationAI
Upgrade XWiki Platform to version 17.4.8 (for 17.4.x branch users) or 17.10.1 (for 17.10.x branch users) immediately. The vendor-released patches enforce programming right requirements on the affected scripting API, preventing script-right-only users from accessing sandbox escape functionality. The fix is implemented in commit 9fe84da66184c05953df9466cf3a4acd15a46e63 available at https://github.com/xwiki/xwiki-platform/commit/9fe84da66184c05953df9466cf3a4acd15a46e63. No workarounds are available beyond administrative controls: conduct an immediate audit of all users granted script rights and revoke privileges from any semi-trusted or untrusted accounts until patching is complete. Organizations unable to patch immediately should implement compensating controls by temporarily restricting script right assignments to only essential, fully trusted administrative personnel.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 8 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
This vulnerability stems from CWE-862 (Missing Authorization) in XWiki Platform's Velocity scripting API implementation. XWiki uses Apache Velocity as a templating engine with sandboxing to restrict script capabilities. The affected components (xwiki-platform-oldcore and xwiki-platform-legacy-oldcore Maven packages) exposed a scripting API that failed to enforce programming right requirements, allowing users with only script right to break out of the Velocity sandbox. This enables execution of arbitrary Python scripts within the XWiki runtime environment, effectively escalating from sandboxed script execution to full programming-level access. The vulnerability represents an authorization bypass where the system failed to verify that callers of sensitive API methods possessed appropriate elevated privileges beyond basic script rights.
Know when Python 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (https://github.com/xwiki/xwiki-platform) · only source for this CVE.
CVSS VectorVendor: https://github.com/xwiki/xwiki-platform
Lifecycle Timeline
2DescriptionCVE.org
Impact
An improperly protected scripting API allows any user with script right to bypass the sandboxing of the Velocity scripting API and execute, e.g., arbitrary Python scripts, allowing full access to the XWiki instance and thereby compromising the confidentiality, integrity and availability of the whole instance. Note that script right already constitutes a high level of access that we don't recommend giving to untrusted users.
Patches
The vulnerability has been patched in XWiki 17.4.8 and 17.10.1 by requiring programming right to access the affected scripting API.
Workarounds
We're not aware of any workarounds except for being careful whom you grant script right.
Attribution
We thank Youssef Azefzaf for discovering and reporting this vulnerability.
Executive ViewAI
XWiki Platform versions 17.x prior to 17.4.8 and 17.10.1 contain a privilege escalation vulnerability that allows users with scripting permissions to execute arbitrary Python code and gain full system access, potentially compromising all data and system integrity. Organizations using affected XWiki instances must prioritize patching to prevent insider threats and unauthorized access from script-enabled users.
Apply vendor patch. If immediate patching is not feasible: (1) Restrict script-execution permissions to only essential administrative accounts; (2) monitor script API calls and user activity logs for anomalous behavior; (3) isolate XWiki instances on network segments with restricted lateral movement; (4) enforce multi-factor authentication for accounts with script rights.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-20478
GHSA-h259-74h5-4rh9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB