CVE-2025-49587

XWiki does not require right warnings for notification displayer objects

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

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.4 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:HGitHub_M

Weaknesses

  • CWE-357 Insufficient UI Warning of Dangerous Operations

Affected Products

ProductVersions
xwiki-platformxwiki
  • >= 15.9-rc-1, < 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.