XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
Summary
| CVE | CVE-2025-66474 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-10 22:16:28 UTC |
| Updated | 2026-09-25 23:10:00 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 8.7 HIGH from [email protected]
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
Problem Types: CWE-95 | CWE-94 | CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.7 | HIGH | 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/C... |
| 4.0 | CNA | DECLARED | 8.7 | HIGH | 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 |
| 3.1 | [email protected] | Primary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
NoneConfidentiality
HighIntegrity
HighAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Xwiki | Xwiki-rendering | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Xwiki | Xwiki-rendering | affected < 16.10.10 | Not specified |
| CNA | Xwiki | Xwiki-rendering | affected >= 17.0.0-rc-1, < 17.4.3 | Not specified |
| CNA | Xwiki | Xwiki-rendering | affected >= 17.5.0-rc-1, < 17.6.0-rc-1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| jira.xwiki.org/browse/XWIKI-23378 | [email protected] | jira.xwiki.org | Patch, Vendor Advisory |
| github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa... | [email protected] | github.com | Patch |
| github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd9... | [email protected] | github.com | Patch |
| jira.xwiki.org/browse/XRENDERING-792 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | jira.xwiki.org | Exploit, Patch, Vendor Advisory |
| jira.xwiki.org/browse/XRENDERING-693 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | jira.xwiki.org | Exploit, Patch, Vendor Advisory |
| jira.xwiki.org/browse/XRENDERING-793 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | jira.xwiki.org | Exploit, Patch, Vendor Advisory |
| github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27p | [email protected] | github.com | Patch, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.