Vulnerability · Published Jun 13, 2025 · Assigned by GitHub_M

CVE-2025-49587XWiki does not require right warnings for notification displayer objects

Medium 6.4

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.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default15.10.16GHSA-j7p2-87q3-44w7
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default16.4.7GHSA-j7p2-87q3-44w7
Mavenorg.xwiki.platform:xwiki-platform-notifications-notifiers-default16.10.2GHSA-j7p2-87q3-44w7

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform >= 15.9-rc-1, < 15.10.16>= 16.0.0-rc-1, < 16.4.7>= 16.5.0-rc-1, < 16.10.2

Weakness: CWE-357 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H

References