CVE-2025-49587
XWiki does not require right warnings for notification displayer objects
Also known as GHSA-j7p2-87q3-44w7
Mitigation
- Upgrade org.xwiki.platform:xwiki-platform-notifications-notifiers-default to one of 15.10.16, 16.4.7, 16.10.2 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-notifications-notifiers-default (>= 15.9-rc-1, < 15.10.16)
- Anyone running xwiki-platform >= 15.9-rc-1, < 15.10.16; >= 16.0.0-rc-1, < 16.4.7; >= 16.5.0-rc-1, < 16.10.2
Vulnerability facts
- Affected
- org.xwiki.platform:xwiki-platform-notifications-notifiers-default >= 15.9-rc-1, < 15.10.16
- Fixed in
- 15.10.16, 16.4.7, 16.10.2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 6.4 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:HOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: Passive
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: High
- EPSS
- 1.63% chance of exploitation in 30 days (percentile 77, 2026-11-26)
- CWE
- CWE-357
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.xwiki.platform:xwiki-platform-notifications-notifiers-default | >= 15.9-rc-1, < 15.10.16 | 15.10.16, 16.4.7, 16.10.2 | osv |
| xwiki-platform | >= 15.9-rc-1, < 15.10.16; >= 16.0.0-rc-1, < 16.4.7; >= 16.5.0-rc-1, < 16.10.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-49587. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-49587.md Affected: org.xwiki.platform:xwiki-platform-notifications-notifiers-default >= 15.9-rc-1, < 15.10.16 Fixed in: 15.10.16, 16.4.7, 16.10.2 Steps: 1. Search this machine and project for org.xwiki.platform:xwiki-platform-notifications-notifiers-default (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Exploits and PoCs
FAQ
Is CVE-2025-49587 being exploited?
There is no confirmed exploitation: CVE-2025-49587 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.63% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-49587?
Medium: CVSS 6.4 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-49587?
org.xwiki.platform:xwiki-platform-notifications-notifiers-default >= 15.9-rc-1, < 15.10.16.
Is there a fix for CVE-2025-49587?
Yes. Fixed in 15.10.16, 16.4.7, 16.10.2. Upgrade org.xwiki.platform:xwiki-platform-notifications-notifiers-default to one of 15.10.16, 16.4.7, 16.10.2 (or later in the same release line).
How do I check if I'm affected by CVE-2025-49587?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.