Vulnerability record · CVE-2025-66474 · published 10 December 2025
CVE-2025-66474: Xwiki-rendering code injection vulnerability
Xwiki · Xwiki Rendering
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.
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:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| 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 | PatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-693 | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-792 | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-793 | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-23378 | PatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-693 | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-792 | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-793 | ExploitPatchVendor Advisory |
Track CVE-2025-66474 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2025-66474), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.