High severity · published Dec 10, 2025
CVE-2025-66474
XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
8.8
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 63% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XW
xwiki-rendering · xwiki
< 16.10.10; >= 17.0.0-rc-1, < 17.4.3; >= 17.5.0-rc-1, < 17.6.0-rc-1 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-66474
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-66474
Patch
https://github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11
Patch
https://github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49
Patch
https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27p
Exploit
https://jira.xwiki.org/browse/XRENDERING-693
Exploit
https://jira.xwiki.org/browse/XRENDERING-792
Exploit
https://jira.xwiki.org/browse/XRENDERING-793
More from xwiki-rendering
9.9
CVE-2025-53837
org.xwiki.rendering:xwiki-rendering-xml has an Eval Injection issue
9.6
CVE-2023-37908
XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax
9.0
CVE-2025-53835
XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax
8.8
CVE-2025-53836
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
8.8
CVE-2023-37912
XWiki Rendering is a generic Rendering system that converts textual input in a given syntax into another syntax
