Vulnerability · Published Jun 13, 2025 · Assigned by GitHub_M
CVE-2025-49587XWiki does not require right warnings for notification displayer objects
Medium 6.4
In plain English
A medium-severity security flaw in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | 15.10.16 | GHSA-j7p2-87q3-44w7 |
| Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | 16.4.7 | GHSA-j7p2-87q3-44w7 |
| Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | 16.10.2 | GHSA-j7p2-87q3-44w7 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | 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 |
Weakness: CWE-357 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-j7p2-87q3-44w7 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/55c5d568c4dc4619f37397d00d14dcdeab9c252d x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-22470 x_refsource_MISC