{"id":"CVE-2025-53837","published":"2026-09-18T16:17:03.527","lastModified":"2026-09-24T21:25:27.050","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). 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.","cvssScore":9.9,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","cwes":["CWE-95"],"vendors":[],"products":[],"references":[{"url":"https://github.com/xwiki/xwiki-rendering/commit/92bc8095ed3acce15ab200c8525e1623b4898be5","tags":[]},{"url":"https://github.com/xwiki/xwiki-rendering/releases/tag/xwiki-rendering-14.10.2","tags":[]},{"url":"https://github.com/xwiki/xwiki-rendering/releases/tag/xwiki-rendering-15.0-rc-1","tags":[]},{"url":"https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-26vp-8gxg-v4pg","tags":[]},{"url":"https://jira.xwiki.org/browse/XRENDERING-693","tags":[]},{"url":"https://jira.xwiki.org/browse/XWIKI-20313","tags":[]},{"url":"https://jira.xwiki.org/browse/XWIKI-20327","tags":[]}],"exploitRefs":[{"url":"https://github.com/xwiki/xwiki-rendering/commit/92bc8095ed3acce15ab200c8525e1623b4898be5","tags":[]},{"url":"https://github.com/xwiki/xwiki-rendering/releases/tag/xwiki-rendering-14.10.2","tags":[]},{"url":"https://github.com/xwiki/xwiki-rendering/releases/tag/xwiki-rendering-15.0-rc-1","tags":[]},{"url":"https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-26vp-8gxg-v4pg","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows any user who can edit their own user profile or any other document to execute arbitrary script macros, leading to remote code execution with full access to the wiki contents.","exploitability":"Exploitation is relatively easy as it requires only the ability to edit a document. Precondition is the presence of script macros in the wiki syntax.","blast_radius":"If exploited, the attacker can gain unrestricted read and write access to all wiki contents, posing a significant risk to the system's integrity and confidentiality.","remediation":"Upgrade to XWiki 14.10.2 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","web","xwiki","xss"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-09-27T08:58:06.781Z"}}