CVE-2025-49587
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.
How to fix
- xwiki xwiki15.10.16, 16.4.7, 16.10.2 or later
- org.xwiki.platform:xwiki-platform-notifications-notifiers-default15.10.16, 16.4.7, 16.10.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xwiki xwiki | 15.9 ≤ v < 15.10.16, 16.0.0 ≤ v < 16.4.7, 16.5.0 ≤ v < 16.10.2 | 15.10.16, 16.4.7, 16.10.2 |
| org.xwiki.platform:xwiki-platform-notifications-notifiers-defaultMaven | 15.9-rc-1 ≤ v < 15.10.16, 16.0.0-rc-1 ≤ v < 16.4.7, 16.5.0-rc-1 ≤ v < 16.10.2 | 15.10.16, 16.4.7, 16.10.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.