Remote code execution in xwiki-platform
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions it's possible for an unprivileged user to perform a remote code execution by injecting a groovy script in her own profile and by calling the Reset password feature since the feature is performing a save of the user profile with programming rights in the impacted versions of XWiki. The issue has been patched in XWiki 13.1RC1. There are two different possible workarounds, each consisting of modifying the XWiki/ResetPassword page. 1. The Reset password feature can be entirely disabled by deleting the XWiki/ResetPassword page. 2. The script in XWiki/ResetPassword can also be modified or removed: an administrator can replace it with a simple email contact to ask an administrator to reset the password.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | > 3.1M1, < 13.1RC1 | — | No fix listed | CNA |
| — | org.xwiki.platform:xwiki-platform-administration-ui (Maven) | 3.1-milestone-1 to before 13.1RC1 | 13.1RC1 | Patch available | GHSA-mgjw-2wrp-r535 |
- xwiki-platform VendorXWiki Affected > 3.1M1, < 13.1RC1 Fixed in — No fix listed CNA
- org.xwiki.platform:xwiki-platform-administration-ui (Maven) Vendor— Affected 3.1-milestone-1 to before 13.1RC1 Fixed in 13.1RC1 Patch available GHSA-mgjw-2wrp-r535
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | 3.1.1 – 13.1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:3.1:milestone1:*:*:*:*:*:* | 3.1 milestone1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:3.1:milestone2:*:*:*:*:*:* | 3.1 milestone2 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:3.1:rc1:*:*:*:*:*:* | 3.1 rc1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 3.1.1 – 13.1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:3.1:milestone1:*:*:*:*:*:* Versions 3.1 milestone1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:3.1:milestone2:*:*:*:*:*:* Versions 3.1 milestone2 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:3.1:rc1:*:*:*:*:*:* Versions 3.1 rc1 Vulnerable ·XWiki
Remediation
- Fix · GHSA-mgjw-2wrp-r535 org.xwiki.platform:xwiki-platform-administration-ui (Maven) Fixed in 13.1RC1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-23616
- 2026-10-03 Alias added: GHSA-mgjw-2wrp-r535
References
Advisory 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2022-23616 · CVE Program
- CVE-2022-23616 · NVD
- FIRST EPSS
- GHSA-mgjw-2wrp-r535 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences