Vulnerability · Published Jun 13, 2025 · Assigned by GitHub_M
CVE-2025-49583XWiki provides no warning when granting XWiki.Notifications.Code.NotificationEmailRendererClass admin right
Medium 5.1
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.3% (higher than 19% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
XWiki is a generic wiki platform. When a user without script right creates a document with an `XWiki.Notifications.Code.NotificationEmailRendererClass` object, and later an admin edits and saves that document, the email templates in this object will be used for notifications. No malicious code can be executed, though, as while these templates allow Velocity code, the existing generic analyzer already warns admins before editing Velocity code. The main impact would thus be to send spam, e.g., with phishing links to other users or to hide notifications about other attacks. 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 has been patched in XWiki 16.10.2, 16.4.7 and 15.10.16 by adding an analysis for the respective XClass properties.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | 15.10.16 | GHSA-ff6v-w58f-v97w |
| Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | 16.4.7 | GHSA-ff6v-w58f-v97w |
| Maven | org.xwiki.platform:xwiki-platform-notifications-notifiers-default | 16.10.2 | GHSA-ff6v-w58f-v97w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | < 15.10.16>= 16.0.0-rc-1, < 16.4.7>= 16.5.0-rc-1, < 16.10.2 |
Weakness: CWE-270, CWE-357 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-ff6v-w58f-v97w x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/3d96bf3ceb167bf0213d63f0be1f7e1732eb0a92 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-22471 x_refsource_MISC