CVE-2025-53837
9.9XWiki · XWiki Rendering
A vulnerability in XWiki Rendering allows authenticated users to achieve remote code execution by injecting script macros into HTML macro content.
Executive summary
A critical remote code execution vulnerability in XWiki Rendering allows authenticated users to execute arbitrary scripts, granting them full read and write access to all wiki contents.
Vulnerability
This flaw involves improper neutralization of directives in dynamically evaluated code (CWE-95), where rendering output is insufficiently escaped within HTML macros. Any authenticated user with document editing privileges can close the intended HTML macro and inject malicious Groovy or Python scripts that execute with elevated programming rights.
Business impact
The potential for remote code execution poses an extreme risk to organizational data integrity and confidentiality. An attacker could gain total control over the wiki environment, leading to the exfiltration of sensitive information, unauthorized modification of documentation, or the deployment of persistent backdoors. Given the CVSS score of 9.9, this vulnerability is classified as critical and requires immediate remediation to prevent complete system compromise.
Remediation
Immediate Action: Update XWiki Rendering to version 14.10.2 or 15.0 RC1 immediately to implement the required output escaping that prevents macro injection.
Proactive Monitoring: Review audit logs for unusual document edit activities or the creation of suspicious wiki pages containing script macros, particularly those invoking Groovy or Python.
Compensating Controls: If immediate patching is not feasible, restrict the ability of standard users to edit documents or their own profiles until the update can be applied.
Exploitation status
Public Exploit Available: Unknown
Analyst recommendation
The severity of this vulnerability, combined with the ease of exploitation for authenticated users, demands an immediate response. Security teams must prioritize patching XWiki Rendering to the specified fixed versions to neutralize the risk of remote code execution. Failure to act promptly could result in the total compromise of the wiki instance and all hosted data.
More XWiki CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief critical section
Sources
- https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-26vp-8gxg-v4pg
- https://github.com/xwiki/xwiki-rendering/commit/92bc8095ed3acce15ab200c8525e1623b4898be5
- https://github.com/xwiki/xwiki-rendering/releases/tag/xwiki-rendering-14.10.2
- https://github.com/xwiki/xwiki-rendering/releases/tag/xwiki-rendering-15.0-rc-1
- https://jira.xwiki.org/browse/XRENDERING-693
- https://jira.xwiki.org/browse/XWIKI-20313
- https://jira.xwiki.org/browse/XWIKI-20327