CVE 8.7 HIGH

XWiki vulnerable to remote code execution through insufficient protection against {{/html}} injection_CVE-2025-66474

8.7 / 10
HIGH
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

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.

AI Analysis

Insufficient protection against {{/html}} injection, allowing remote code execution through arbitrary script macros

Basic Information

ID CVE-2025-66474
Source GitHub_M
Published Dec 10, 2025 at 21:59

Affected Product

Vendor xwiki
Product xwiki-rendering
Version < 16.10.10
Affected Versions xwiki xwiki-rendering < 16.10.10
xwiki xwiki-rendering >= 17.0.0-rc-1, < 17.4.3
xwiki xwiki-rendering >= 17.5.0-rc-1, < 17.6.0-rc-1

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor XWiki
Product XWiki Rendering
Version 16.10.9 and below, 17.0.0-rc-1 through 17.4.2, 17.5.0-rc-1 through 17.5.0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.