CVE-2025-66474
HIGH 8.7CVSS 4.0XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
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.
- Published
- 10 Dec 2025
- Last modified
- 25 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-94CWE-95
- Also known as
- GHSA-9xc6-c2rm-f27p
- Sources
- NVDJSONOSV GHSA-9xc6-c2rm-f27pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwiki-renderingcpe:2.3:a:xwiki:xwiki-rendering:*:*:*:*:*:*:*:* |
< 16.10.10 | 16.10.10 |
| NVD | xwiki | xwiki-renderingcpe:2.3:a:xwiki:xwiki-rendering:*:*:*:*:*:*:*:* |
>= 17.0.0, < 17.4.3 | 17.4.3 |
| NVD | xwiki | xwiki-renderingcpe:2.3:a:xwiki:xwiki-rendering:17.5.0:-:*:*:*:*:*:* |
= 17.5.0 | |
| NVD | xwiki | xwiki-renderingcpe:2.3:a:xwiki:xwiki-rendering:17.5.0:rc1:*:*:*:*:*:* |
= 17.5.0 | |
| OSV | Maven | org.xwiki.rendering:xwiki-rendering-xml | < 16.10.10 | 16.10.10 |
| OSV | Maven | org.xwiki.rendering:xwiki-rendering-xml | >= 17.0.0-rc-1, < 17.4.3 | 17.4.3 |
| OSV | Maven | org.xwiki.rendering:xwiki-rendering-xml | >= 17.5.0-rc-1, < 17.6.0-rc-1 | 17.6.0-rc-1 |
References
- https://github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11 · Patch, WEB
- https://github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49 · Patch, WEB
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27p · Patch, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XRENDERING-693 · Exploit, Patch, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XRENDERING-792 · Exploit, Patch, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XRENDERING-793 · Exploit, Patch, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-23378 · Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66474 · ADVISORY
- https://github.com/xwiki/xwiki-rendering · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 10 Dec 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Dec 2025)