Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend crafted URL with XSS payload
-
DeliveryBrowser loads compare view page
-
ExploitUnescaped URL parameter reflected in HTML
-
ExecutionJavaScript executes in victim's session
-
ImpactAdmin privileges escalate impact to full instance
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Without a CVSS vector or EPSS score provided, risk assessment relies on structural analysis. This is a reflected XSS vulnerability (CWE-80) in a web application, which typically has CVSS base scores of 6.1-7.1 depending on attack complexity and user interaction. The attack vector is network-based and requires no authentication-an attacker can send a crafted URL to a victim via email, chat, or forum post. User interaction is required (victim must click the link), which moderates real-world exploitation likelihood. However, the impact escalation to full instance compromise when admin users are targeted significantly elevates business risk despite moderate technical exploitability. No KEV status or active exploitation signals are present, suggesting this is not yet under active attack by threat actors. The availability of a vendor patch and disclosed workaround further reduces urgency but does not eliminate risk for unpatched deployments. |
| Exploit ScenarioDerived | An attacker crafts a URL to an XWiki instance's compare view endpoint with malicious JavaScript injected into a URL parameter (e.g., a page name or revision identifier). The attacker sends this link to an XWiki administrator via email or embeds it in a forum post. When the administrator clicks the link to compare revisions, the injected JavaScript executes in their browser with their administrative session cookies and credentials, allowing the attacker to steal session tokens, create new admin accounts, modify page content, or exfiltrate sensitive wiki data. No public proof-of-concept code has been identified, but the vulnerability is straightforward to exploit given the unescaped parameter reflection. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 15, 2026
Reflected cross-site scripting (XSS) in XWiki's compare view allows unauthenticated attackers to execute arbitrary JavaScript in a user's browser by injecting malicious code through unescaped URL parameters in the page revision comparison feature. When the victim is an administrator, successful exploitation compromises the confidentiality, integrity, and availability of the entire XWiki instance. Vendor-released patch is available; no public exploit code or active exploitation has been confirmed at time of analysis.
RemediationAI
Apply the vendor patch by updating org.xwiki.platform:xwiki-platform-web-templates to a version released after the fix commit (3c8a2ec985641367015c2db937574fcd360c788c). Consult the XWiki GitHub Security Advisory at https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-w4fj-87j5-f25c for the specific patched version number and release date. As an immediate workaround for unpatched deployments, manually apply the patch to the templates/changesdoc.vm file in the deployed WAR archive by replacing the vulnerable template with the corrected version from the GitHub commit. After applying any patch or workaround, test the compare view functionality with both normal and admin accounts to confirm XSS injection is blocked and revision comparison continues to work correctly.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 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
The vulnerability exists in XWiki Platform's changesdoc.vm template file, which handles the display of differences between page revisions. The root cause is improper output encoding of URL parameters in the compare view (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page). The affected component is the xwiki-platform-web-templates Maven package, which provides the Velocity template files used for rendering revision comparison interfaces. When user-controlled URL parameters are reflected directly into the HTML response without proper escaping, an attacker can break out of the HTML context and inject JavaScript payloads that execute with the privileges of the authenticated user viewing the comparison.
Know when the next one hits your stack
- 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:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
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
3DescriptionCVE.org
Impact
A reflected cross-site scripting vulnerability (XSS) in the compare view between revisions of a page allows executing JavaScript code in the user's browser. If the current user is an admin, this can not only affect the current user but also the confidentiality, integrity and availability of the whole XWiki instance.
Patches
The problem has been patched by properly escaping the URL parameters.
Workarounds
The patch can be applied manually to templates/changesdoc.vm in the deployed WAR.
Attribution
XWiki thanks Mike Cole @mikecole-mg for discovering and reporting this vulnerability.
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
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-22819
GHSA-w4fj-87j5-f25c
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB