CVE-2025-66474
published high CVSS 4.0 · 8.7XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xwiki | — | xwiki-rendering< 16.10.10 · >= 17.0.0-rc-1, < 17.4.3 · >= 17.5.0-rc-1, < 17.6.0-rc-1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwiki | xwiki-rendering | < 16.10.10 (affected)>= 17.0.0-rc-1, < 17.4.3 (affected)>= 17.5.0-rc-1, < 17.6.0-rc-1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
7- https://github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11
- https://github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27p
- https://jira.xwiki.org/browse/XRENDERING-693
- https://jira.xwiki.org/browse/XRENDERING-792
- https://jira.xwiki.org/browse/XRENDERING-793
- https://jira.xwiki.org/browse/XWIKI-23378
Provider assertions
2GitHub_M · cna
XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8248cf6436a40486fc990fbd512ddb4dee2b3fadba98d41c23362e1834a6b5d0
- Ingested
- 23 Sep 2026, 08:56:35 UTC
- Source record
- Official CVE record