Loading advisory.
Loading advisory.
XWiki Platform vulnerable to Code injection through NotificationRSSService
Any user who can edit their own user profile and notification settings can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This can be reproduced with the following steps:
Published 2023-06-29 20:38 UTC · Modified 2024-11-26 19:14 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.xwiki.platform:xwiki-platform-notifications-ui | Maven | >= 9.6-rc-1, < 14.10.6 >= 15.0-rc-1, < 15.2-rc-1 | 14.10.6, 15.2-rc-1 | No single command for Maven. Update to 14.10.6, 15.2-rc-1 in your build file. |
Any user who can edit their own user profile and notification settings can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This can be reproduced with the following steps:
Login as a user without script or programming right.
Go to the notifications preferences in your user profile.
Disable the "Own Events Filter" and enable notifications in the notification menu for "Like".
Set your first name to {{cache id="security" timeToLive="1"}}{{groovy}}println("Hello from groovy!"){{/groovy}}{{/cache}}
Click on the like button at the bottom left of the user profile.
Click on the notifications bell in the top bar and then on "RSS Feed".
If the text "Profile of Hello from groovy!" and/or "liked by Hello from groovy!" is displayed, the attack succeeded. The expected result would have been that the entered first name is displayed as-is in the description of the feed.
This has been patched in XWiki 14.10.6 and 15.2RC1.
The main security fix can be manually applied by patching the affected document XWiki.Notifications.Code.NotificationRSSService as shown in the patch. This will break the link to the differences, though as this requires additional changes to Velocity templates as shown in the patch. While the default template is available in the instance and can be easily patched, the template for mentions is contained in a .jar-file and thus cannot be fixed without replacing that jar.
https://jira.xwiki.org/browse/XWIKI-20610
https://github.com/xwiki/xwiki-platform/commit/217e5bb7a657f2991b154a16ef4d5ae9c29ad39c
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.819 on 2026-11-24 to 0.040 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.819 | first score | v2026.06.15 |
| 2026-11-26 | 0.040 | 0.819 | v2026.06.15 |