CVE-2025-66474

XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection

Published Dec 10, 2025 CVSS 4.0 · 8.7 High EPSS 1.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9xc6-c2rm-f27p XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
History
Type Values Removed Values Added
First Time appeared Xwiki xwiki-rendering
Weaknesses CWE-94
CPEs cpe:2.3:a:xwiki:xwiki-rendering:*:*:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki-rendering:17.5.0:-:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki-rendering:17.5.0:rc1:*:*:*:*:*:*
Vendors & Products Xwiki xwiki-rendering
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Xwiki
Xwiki rendering
Vendors & Products Xwiki
Xwiki rendering
Type Values Removed Values Added
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.
Title XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection
Weaknesses CWE-95
References
Metrics cvssV4_0

{'score': 8.7, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 11, 2025, 3:39 PM
Reserved
Dec 2, 2025, 4:23 PM
Status
Analyzed
Published
Dec 10, 2025, 10:16 PM
Modified
Sep 25, 2026, 11:10 PM