CVE-2025-49583

XWiki provides no warning when granting XWiki.Notifications.Code.NotificationEmailRendererClass admin right

State
Published
Severity
5.1 Medium
Published
Jun 13, 2025
Updated
Jun 13, 2025
Reserved
Jun 6, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.05.1 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:NGitHub_M

Weaknesses

  • CWE-270 Privilege Context Switching Error
  • CWE-357 Insufficient UI Warning of Dangerous Operations

Affected Products

ProductVersions
xwiki-platformxwiki
  • < 15.10.16Affected
  • >= 16.0.0-rc-1, < 16.4.7Affected
  • >= 16.5.0-rc-1, < 16.10.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.