CVE-2025-49583 XWiki provides no warning when granting XWiki.Notifications.Code.NotificationEmailRendererClass admin right

Medium 5.1 Published Updated

Attackers can inject malicious email templates into notification settings, enabling spam or phishing without triggering admin warnings.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-49583?

CVE-2025-49583 is a medium-severity missing authorization vulnerability in Xwiki Xwiki, published on 13 Jun 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-357, CWE-270

Which versions are affected by CVE-2025-49583?

6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-notifications-notifiers-default. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-notifications-notifiers-default MavenAll versions15.10.16
org.xwiki.platform:xwiki-platform-notifications-notifiers-default MavenAll versions15.10.16
org.xwiki.platform:xwiki-platform-notifications-notifiers-default MavenFrom 16.0.0-rc-116.4.7
org.xwiki.platform:xwiki-platform-notifications-notifiers-default MavenFrom 16.0.0-rc-116.4.7
org.xwiki.platform:xwiki-platform-notifications-notifiers-default MavenFrom 16.5.0-rc-116.10.2
org.xwiki.platform:xwiki-platform-notifications-notifiers-default MavenFrom 16.5.0-rc-116.10.2

Products include Xwiki Xwiki.

How do I fix CVE-2025-49583?

Upgrade org.xwiki.platform:xwiki-platform-notifications-notifiers-default to a fixed version for your release line: 15.10.16, 16.4.7 or 16.10.2.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-49583 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-49583 exists.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-ff6v-w58f-v97w.

Is CVE-2025-49583 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free