CVE-2025-66474 Details
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.
A vulnerability exists in XWiki Rendering versions prior to 16.10.10, as well as in 17.0.0-rc-1 through 17.4.2 and 17.5.0-rc-1 through 17.5.0. This vulnerability allows for remote code execution (RCE) through insufficient protection against HTML macro injection. Users who can edit their own profile or any document may exploit this by executing arbitrary script macros, including Groovy and Python, which are then processed with programming rights. The issue arises because the rendering output is incorporated into HTML macros without proper escaping, enabling the injection of script macros that are executed with full access to wiki contents.
Users can upgrade to XWiki Rendering versions 16.10.10, 17.4.3 or 17.6.0-rc-1. For XWiki Platform, the upgrade to version 17.10.0 is recommended.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://jira.xwiki.org/browse/XRENDERING-693 | CISA-ADP | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-792 | CISA-ADP | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-793 | CISA-ADP | ExploitPatchVendor Advisory |
| https://github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11 | [email protected] | Patch |
| https://github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49 | [email protected] | Patch |
| https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27p | [email protected] | PatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-693 | [email protected] | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-792 | [email protected] | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XRENDERING-793 | [email protected] | ExploitPatchVendor Advisory |
| https://jira.xwiki.org/browse/XWIKI-23378 | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
| CWE-95 | Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| xwiki xwiki-rendering | < 16.10.10 >= 17.0.0, < 17.4.3 17.5.0 - 17.5.0 rc1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 25, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 19, 2025 | Initial Analysis | [email protected] |
| Dec 11, 2025 | CVE Modified | CISA-ADP |
| Dec 10, 2025 | New CVE Received | [email protected] |