---
id: CVE-2025-66474
title: >-
  XWiki Rendering is a generic rendering system that converts textual input in a
  given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc)
summary: >-
  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 …
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-95
  - CWE-94
vendor: xwiki
product: xwiki-rendering
affected:
  - xwiki-rendering < 16.10.10
  - 'xwiki-rendering >= 17.0.0, < 17.4.3'
  - xwiki-rendering = 17.5.0
patched:
  - xwiki-rendering 17.4.3
published: '2025-12-10'
updated: '2026-09-25'
sourceUpdated: '2026-09-25T23:10:00.463'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-66474'
references:
  - url: >-
      https://github.com/xwiki/xwiki-platform/commit/12b780ccd5bca5fc8f74f46648d7e02fa04fbc11
    label: security-advisories@github.com
  - url: >-
      https://github.com/xwiki/xwiki-rendering/commit/9b71a2ee035815cfc29cebbfe81dbdd98f941d49
    label: security-advisories@github.com
  - url: >-
      https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-9xc6-c2rm-f27p
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XRENDERING-693'
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XRENDERING-792'
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XRENDERING-793'
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XWIKI-23378'
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XRENDERING-693'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://jira.xwiki.org/browse/XRENDERING-792'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://jira.xwiki.org/browse/XRENDERING-793'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.01021
epssPercentile: 0.61915
ingestedAt: '2026-09-25T23:21:16.942Z'
---

## Overview

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.

## Affected

- `xwiki-rendering < 16.10.10`
- `xwiki-rendering >= 17.0.0, < 17.4.3`
- `xwiki-rendering = 17.5.0`

## Remediation

Upgrade past the affected range:

- `xwiki-rendering 17.4.3`
