CVE-2025-53837xwiki-rendering
Remote Code Execution in XWiki Rendering via Macro Injection
Critical 9.9
Follow: this CVE · xwiki · xwiki-rendering We alert you by email or Slack (account required).
- Priority
- 59
- CVSS 3.1
- 9.9
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 18, 2026
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-95
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
What happens
XWiki Rendering allows authenticated users to execute arbitrary script macros (Groovy, Python) by injecting code through editable documents. An attacker with edit access can close HTML macros and execute code with programming rights, gaining full read and write access to wiki contents. Fixed in versions 14.10.2 and 15.0 RC1.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 14.10.2, 15.0-rc-1
Update xwiki-rendering to version 14.10.2 or later. Ensure rendering output cannot close surrounding HTML macros.
- Apply the vendor's security update for xwiki-rendering.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.xwiki.rendering:xwiki-rendering-xml |
< 14.10.2 |
14.10.2 |
— |
Per OSV / GitHub Advisories (GHSA-26vp-8gxg-v4pg). Check the version in your lockfile before upgrading.
Affected products
- xwiki · xwiki-rendering
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.