Home / xwiki / xwiki-rendering / CVE-2025-66474
CVE-2025-66474: is it exploited, and which versions of xwiki-rendering are affected and fixed?
CVE-2025-66474 is a code injection through eval vulnerability in xwiki-rendering. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: org.xwiki.rendering:xwiki-rendering-xml before 16.10.10, org.xwiki.rendering:xwiki-rendering-xml from 17.0.0-rc-1 before 17.4.3 and org.xwiki.rendering:xwiki-rendering-xml from 17.5.0-rc-1 before 17.6.0-rc-1 (GitHub advisory GHSA-9xc6-c2rm-f27p). Fixed in 16.10.10, 17.4.3 and 17.6.0-rc-1 (GitHub advisory GHSA-9xc6-c2rm-f27p). Severity: High (8.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-66474?
XWiki 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.
From the CVE record by GitHub_M, last updated December 11, 2025, 15:39 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| xwiki | xwiki-rendering | < 16.10.10 >= 17.0.0-rc-1, < 17.4.3 >= 17.5.0-rc-1, < 17.6.0-rc-1 |
As the CVE record by GitHub_M states it, last updated December 11, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.xwiki.rendering:xwiki-rendering-xml | < 16.10.10 | 16.10.10 | GHSA-9xc6-c2rm-f27p |
| Maven | org.xwiki.rendering:xwiki-rendering-xml | >= 17.0.0-rc-1, < 17.4.3 | 17.4.3 | GHSA-9xc6-c2rm-f27p |
| Maven | org.xwiki.rendering:xwiki-rendering-xml | >= 17.5.0-rc-1, < 17.6.0-rc-1 | 17.6.0-rc-1 | GHSA-9xc6-c2rm-f27p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 11, 2025. Summary: XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| xwiki | xwiki-rendering | before 16.10.10 | application |
| xwiki | xwiki-rendering | from 17.0.0 before 17.4.3 | application |
| xwiki | xwiki-rendering | 17.5.0 | application |
NVD analysis (status Analyzed), last modified September 25, 2026, 23:10 UTC.
How severe is CVE-2025-66474?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | 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 | GitHub_M |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-66474 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, December 11, 2025)
- EPSS
- 1.10% probability of exploitation activity in the next 30 days, percentile 66.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27p x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11 x_refsource_MISC
- https://github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49 x_refsource_MISC
- https://jira.xwiki.org/browse/XRENDERING-693 x_refsource_MISC
- https://jira.xwiki.org/browse/XRENDERING-792 x_refsource_MISC
- https://jira.xwiki.org/browse/XRENDERING-793 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-23378 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 2, 2025
- Published
- December 10, 2025, 21:59 UTC
- CVE record updated
- December 11, 2025, 15:39 UTC by GitHub_M
- NVD
- Analyzed, last modified September 25, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect xwiki-rendering?
- Sep 18, 2026CVE-2025-53837 xwiki-rendering: code injection through eval
- Jul 14, 2025CVE-2025-53836 xwiki-rendering: incorrect authorization
- Jul 14, 2025CVE-2025-53835 xwiki-rendering: cross-site scripting (XSS)
- Oct 25, 2023CVE-2023-37912 xwiki-rendering: privilege Context Switching Error
- Oct 25, 2023CVE-2023-37908 xwiki-rendering: improper Neutralization of Script in Attributes in a Web Page
- May 10, 2023CVE-2023-32070 xwiki-rendering: improper Neutralization of Script in Attributes in a Web Page
Questions about CVE-2025-66474
Is CVE-2025-66474 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 1.10% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of xwiki-rendering are affected by CVE-2025-66474?
org.xwiki.rendering:xwiki-rendering-xml before 16.10.10, org.xwiki.rendering:xwiki-rendering-xml from 17.0.0-rc-1 before 17.4.3 and org.xwiki.rendering:xwiki-rendering-xml from 17.5.0-rc-1 before 17.6.0-rc-1, per the GitHub advisory GHSA-9xc6-c2rm-f27p. The tables above give every range the sources list.
Which version fixes CVE-2025-66474?
16.10.10, 17.4.3 and 17.6.0-rc-1, per the GitHub advisory GHSA-9xc6-c2rm-f27p. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-66474?
High (8.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-66474?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.