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.

Severity (CVSS 4.0)5.1Medium
Exploit odds (30 days)0.3%top 80.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default15.10.16GHSA-ff6v-w58f-v97w
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default16.4.7GHSA-ff6v-w58f-v97w
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default16.10.2GHSA-ff6v-w58f-v97w

Affected products (as reported)

VendorProductVersions
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