XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.xwiki.rendering:xwiki-rendering-xmlMaven | < 16.10.10 | 16.10.10 |
org.xwiki.rendering:xwiki-rendering-xmlMaven | >= 17.0.0-rc-1, < 17.4.3 | 17.4.3 |
org.xwiki.rendering:xwiki-rendering-xmlMaven | >= 17.5.0-rc-1, < 17.6.0-rc-1 | 17.6.0-rc-1 |
Affected products
2- Range: xwiki-rendering-16.10.0, xwiki-rendering-16.10.0-rc-1, xwiki-rendering-16.10.1, …
Patches
Vulnerability mechanics
References
9- github.com/advisories/GHSA-9xc6-c2rm-f27pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-66474ghsaADVISORY
- github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49ghsax_refsource_MISCWEB
- github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27pghsax_refsource_CONFIRMWEB
- jira.xwiki.org/browse/XRENDERING-693ghsax_refsource_MISCWEB
- jira.xwiki.org/browse/XRENDERING-792ghsax_refsource_MISCWEB
- jira.xwiki.org/browse/XRENDERING-793ghsax_refsource_MISCWEB
- jira.xwiki.org/browse/XWIKI-23378ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.