XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
xwiki-rendering
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.rendering:xwiki-rendering-xml Maven |
|
|
xwiki-rendering
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.rendering:xwiki-rendering-xml Maven |
|
|
XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Versions 16.10.9 and below, 17.0.0-rc-1 through 17.4.2 and 17.5.0-rc-1 through 17.5.0 have insufficient protection against {{/html}} injection, which attackers can exploit through RCE. Any user who can edit their own profile or any other document can execute arbitrary script macros, including Groovy and Python macros, which enable remote code execution as well as unrestricted read and write access to all wiki contents. This issue is fixed in versions 16.10.10, 17.4.3 and 17.6.0-rc-1.
From the CVE record · GitHub_M
The xwiki-rendering-xml package has insufficient protection against {{/html}} injection. A user who can edit their profile or another document can execute arbitrary script macros, enabling remote code execution and unrestricted access to wiki contents.
Teams using Maven org.xwiki.rendering:xwiki-rendering-xml versions below 16.10.10, from 17.0.0-rc-1 to before 17.4.3, or from 17.5.0-rc-1 to before 17.6.0-rc-1 should check their deployments.