CVE-2023-37914:
XWiki Platform privilege escalation (PR)/RCE from account through Invitation subject/message
9.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.88387%
CWE
Published
8/18/2023
Updated
11/11/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.xwiki.platform:xwiki-platform-invitation-ui | maven | >= 2.5-m-1, < 14.4.8 | 14.4.8 |
org.xwiki.platform:xwiki-platform-invitation-ui | maven | >= 14.5, < 14.10.6 | 14.10.6 |
org.xwiki.platform:xwiki-platform-invitation-ui | maven | >= 15.0-rc-1, < 15.2-rc-1 | 15.2-rc-1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The core vulnerability stems from improper escaping in Velocity macros handling invitation subject lines. The patch adds 'wiki="false"' to disable wiki syntax parsing within these macros, which previously allowed attackers to inject {{groovy}} macros. Both InvitationCommon.xml
and InvitationConfig.xml
contained the vulnerable Velocity template definition that processed user-controlled input without proper context isolation, leading to code evaluation. The test cases added in the commit verify that macro syntax in subjectLine
parameters is now properly escaped, confirming the attack vector.