BreachSpiderVerified, not vibes

CVE-2025-49587 in Xwiki

High 8.0

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 th...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.0
CVSS v46.4
EPSS1.6%
EPSS percentile77th
FixSee advisory

Remotely exploitable over the network, low complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Xwiki Xwiki ≥ 15.9, < 15.10.16 ≥ 16.0.0, < 16.4.7 ≥ 16.5.0, < 16.10.2

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2025-49587
BreachSpider IDBS-2025-GLOBAL-229560-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Published2025-06-13
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-357: CWE-357

Analysis AI-written, not human-reviewed

A vulnerability in XWiki allows users without script rights to create documents with malicious content that can be executed as raw HTML when an admin edits and saves the document, leading to potential XSS attacks.

An attacker can create a document with an XWiki.Notifications.Code.NotificationDisplayerClass object containing malicious Velocity code. When an admin later edits and saves this document, the malicious content is rendered as raw HTML, enabling XSS.

Questions

What is CVE-2025-49587?

A vulnerability in XWiki allows users without script rights to create documents with malicious content that can be executed as raw HTML when an admin edits and saves the document, leading to potential XSS attacks.

What is the CVSS score for CVE-2025-49587?

CVE-2025-49587 has CVSS 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.6%.

Is CVE-2025-49587 actively exploited?

No confirmed active exploitation of CVE-2025-49587 as of 2026-09-25.

How do I remediate CVE-2025-49587?

Priority: IMMEDIATE. Advisory: https://jira.xwiki.org/browse/XWIKI-22470 PSIRT: [email protected]

What systems are affected by CVE-2025-49587?

CVE-2025-49587 affects Xwiki Xwiki.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.