CVE-2025-66474 — Vulnerability in...
XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
Summary
Advisory Timeline
- First published December 10, 2025 (306 days ago).
- Last revised December 20, 2025 — 10 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 17.4.3 for org.xwiki.rendering:xwiki-rendering-xml -->
<!-- Update pom.xml dependency version to 16.10.10 for org.xwiki.rendering:xwiki-rendering-xml -->
<!-- Update pom.xml dependency version to 17.6.0-rc-1 for org.xwiki.rendering:xwiki-rendering-xml -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.xwiki.rendering:xwiki-rendering-xml | maven | 17.0.0, 17.0.0-rc-1, 17.1.0, 17.1.0-rc-1 (+10 more) | 17.4.3 |
| org.xwiki.rendering:xwiki-rendering-xml | maven | 10.0, 10.1, 10.1-rc-1, 10.10 (+452 more) | 16.10.10 |
| org.xwiki.rendering:xwiki-rendering-xml | maven | 17.5.0 | 17.6.0-rc-1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-94Code InjectionMITRE
- CWE-95
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
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
References
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27pWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66474ADVISORY
- https://github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11WEB
- https://github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49WEB
- https://github.com/xwiki/xwiki-renderingPACKAGE
- https://jira.xwiki.org/browse/XRENDERING-693WEB
- https://jira.xwiki.org/browse/XRENDERING-792WEB
- https://jira.xwiki.org/browse/XRENDERING-793WEB
- https://jira.xwiki.org/browse/XWIKI-23378WEB
Frequently Asked Questions
- What is CVE-2025-66474?
- XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2025-66474?
- CVE-2025-66474 affects org.xwiki.rendering:xwiki-rendering-xml. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-66474 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2025-53837CRITICAL
org.xwiki.rendering:xwiki-rendering-xml has an Eval Injection issue
- CVE-2025-53836CRITICAL
XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- CVE-2023-37908CRITICAL
org.xwiki.rendering:xwiki-rendering-xml Improper Neutralization of Invalid Characters in Identifiers in Web Pages vulnerability
- CVE-2023-32070CRITICAL
Improper Neutralization of Script in Attributes in XWiki (X)HTML renderers
- CVE-2025-53835CRITICAL
XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax
- CVE-2026-61570HIGH
MPXJ: XXE Vulnerability in MerlinReader
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies