NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

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

mediumCVSS 4.0 6.4GHSA-j7p2-87q3-44w7

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

Published Jun 13, 2025

Affected packages

org.xwiki.platform:xwiki-platform-notifications-notifiers-default

Ecosystem
Maven
Affected
>= 15.9-rc-1, < 15.10.16
Fixed in
15.10.16
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-notifications-notifiers-default

org.xwiki.platform:xwiki-platform-notifications-notifiers-default

Ecosystem
Maven
Affected
>= 16.0.0-rc-1, < 16.4.7
Fixed in
16.4.7
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-notifications-notifiers-default

org.xwiki.platform:xwiki-platform-notifications-notifiers-default

Ecosystem
Maven
Affected
>= 16.5.0-rc-1, < 16.10.2
Fixed in
16.10.2
Check
mvn dependency:tree -Dincludes=org.xwiki.platform:xwiki-platform-notifications-notifiers-default

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

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.

Patches

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.

Workarounds

We're not aware of any real workarounds apart from just being careful with editing documents previously edited by untrusted users as a user with script, admin or programming right.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries