---
id: CVE-2025-53837
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). Prior
  to versions 14.10.2 and 15.0 RC1, any user who can edit their own user profile
  o…
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-95
vendor: xwiki
product: xwiki-rendering
affected:
  - xwiki-rendering < 14.10.2
patched:
  - 'org.xwiki.rendering:xwiki-rendering-xml 14.10.2'
published: '2026-09-18'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T21:25:27.050'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-53837'
references:
  - url: >-
      https://github.com/xwiki/xwiki-rendering/commit/92bc8095ed3acce15ab200c8525e1623b4898be5
    label: security-advisories@github.com
  - url: >-
      https://github.com/xwiki/xwiki-rendering/releases/tag/xwiki-rendering-14.10.2
    label: security-advisories@github.com
  - url: >-
      https://github.com/xwiki/xwiki-rendering/releases/tag/xwiki-rendering-15.0-rc-1
    label: security-advisories@github.com
  - url: >-
      https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-26vp-8gxg-v4pg
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XRENDERING-693'
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XWIKI-20313'
    label: security-advisories@github.com
  - url: 'https://jira.xwiki.org/browse/XWIKI-20327'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-26vp-8gxg-v4pg'
tags:
  - nvd
  - cve.org
  - ghsa
  - maven
epss: 0.00642
epssPercentile: 0.48602
aliases:
  - GHSA-26vp-8gxg-v4pg
ecosystem: maven
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-18T19:24:28.572949Z'
ingestedAt: '2026-09-18T15:44:31.582Z'
---

## 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). Prior to versions 14.10.2 and 15.0 RC1, any user who can edit their own user profile or any other document can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. The reason is that rendering output is included as content of HTML macros without further escaping and it is thus possible to close the HTML macro and inject script macros that are executed with programming rights. This has been patched in XWiki 14.10.2 and 15.0 RC1 by making sure that rendering output cannot close the surrounding HTML macro. A possible workaround is available. It is, in principle, possible to add escaping to all places where rendering output is used in wiki documents, but at the moment there is no list of them.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2025-53837)

Affected packages:

- `org.xwiki.rendering:xwiki-rendering-xml < 14.10.2`

Patched in:

- `org.xwiki.rendering:xwiki-rendering-xml 14.10.2`

Source: https://github.com/advisories/GHSA-26vp-8gxg-v4pg
