Loading advisory.
Loading advisory.
XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
Any user who can edit their own user profile or any other document 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.
Published 2025-12-10 15:47 UTC · Modified 2025-12-20 05:42 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.rendering:xwiki-rendering-xml | Maven | < 16.10.10 >= 17.0.0-rc-1, < 17.4.3 >= 17.5.0-rc-1, < 17.6.0-rc-1 versions 10.0, 10.1, 10.1-rc-1, 10.10, 10.10-rc-1, 10.11, 10.11-rc-1, 10.11.1, 10.11.10, 10.11.11, 10.11.2, 10.11.3, 10.11.4, 10.11.5, 10.11.6, 10.11.7, 10.11.8, 10.11.9, 10.2, 10.3 and 451 more | 16.10.10, 17.4.3, 17.6.0-rc-1 | No single command for Maven. Update to 16.10.10, 17.4.3, 17.6.0-rc-1 in your build file. |
Any user who can edit their own user profile or any other document 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. The reason is that rendering output is included as content of HTML macros with insufficient escaping, and it is thus possible to close the HTML macro and inject script macros that are executed with programming rights. To demonstrate, the content {{html}}{{/html {{/html}}}} can be inserted into any field of the user profile that supports wiki syntax like the "About" field. If this leads to the display of raw HTML, the instance is vulnerable.
This problem has been patched by extending the escaping introduced by XRENDERING-693 to also cover closing HTML macros that have spaces after the macro name in XWiki 16.10.10, 17.4.3 and 17.6.0RC1. A similar fix has been applied in org.xwiki.platform:xwiki-platform-oldcore as an extra safety net, see XWIKI-23378. At this point, we're not aware that this extra safety net would be required for security.
The patch also fixes the injection of opening HTML macro syntaxes, e.g., with {{html}}{{html{{/html}}}} which disrupts the rendering of the user profile but for which we haven't found any further security impact apart from the disruption of the UI.
We're not aware of any workarounds except for upgrading the affected module to a version with a fix.
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.011 on 2026-11-24 to 0.031 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.011 | first score | v2026.06.15 |
| 2026-11-26 | 0.031 | 0.011 | v2026.06.15 |