CVE-2023-46244 Privilege escalation in Xwiki platform
Attackers can execute Velocity scripts with the privileges of other document authors, leading to privilege escalation and potential code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-46244?
CVE-2023-46244 is a critical vulnerability in Xwiki Xwiki, published on 7 Nov 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for a user to write a script in which any velocity content is executed with the right of any other document content author. Since this API require programming right and the user does not have it, the expected result is `$doc.document.authors.contentAuthor` (not executed script), unfortunately with the security vulnerability it is possible for the attacker to get `XWiki.superadmin` which shows that the title was executed with the right of the unmodified document. This has been patched in XWiki versions 14.10.7 and 15.2RC1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-863
Which versions are affected by CVE-2023-46244?
4 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-display-api. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.xwiki.platform:xwiki-platform-display-api Maven | From 15.0 | 15.2-rc-1 |
org.xwiki.platform:xwiki-platform-display-api Maven | From 15.0 | 15.2-rc-1 |
org.xwiki.platform:xwiki-platform-display-api Maven | From 3.2-milestone-3 | 14.10.7 |
org.xwiki.platform:xwiki-platform-display-api Maven | From 3.2-milestone-3 | 14.10.7 |
Products include Xwiki Xwiki.
How do I fix CVE-2023-46244?
Upgrade org.xwiki.platform:xwiki-platform-display-api to a fixed version for your release line: 15.2-rc-1 or 14.10.7.
Is CVE-2023-46244 being exploited?
There is no known exploitation of CVE-2023-46244 in the wild and no public exploit code.
Other vulnerabilities in Xwiki Xwiki
- CVE-2025-24893 XWiki Platform Eval Injection
- CVE-2025-53836 XWiki Rendering is vulnerable to RCE attacks when processing nested macros
- CVE-2024-55662 XWiki allows remote code execution through the extension sheet
- CVE-2024-55877 XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList
- CVE-2024-37901 XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet
Sources
Also known as GHSA-rmxw-c48h-2vf5.