CVE-2025-66474
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.02%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 4.0
- 8.7 HIGHCVSS: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/M
- EPSS
- 1.02% probability · 61th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-95, CWE-94
- Affected
- xwiki/xwiki-rendering
- Source
- security-advisories@github.com
References
- https://github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11Patch
- https://github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49Patch
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27pPatch, Vendor Advisory
- https://jira.xwiki.org/browse/XRENDERING-693Exploit, Patch, Vendor Advisory
- https://jira.xwiki.org/browse/XRENDERING-792Exploit, Patch, Vendor Advisory
- https://jira.xwiki.org/browse/XRENDERING-793Exploit, Patch, Vendor Advisory
- https://jira.xwiki.org/browse/XWIKI-23378Patch, Vendor Advisory
- https://jira.xwiki.org/browse/XRENDERING-693Exploit, Patch, Vendor Advisory
- https://jira.xwiki.org/browse/XRENDERING-792Exploit, Patch, Vendor Advisory
- https://jira.xwiki.org/browse/XRENDERING-793Exploit, Patch, Vendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.