XWiki Platform's Groovy jobs check the wrong author, allowing remote code execution
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-284.
Summary
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki supports scheduled jobs that contain Groovy scripts. Currently, the job checks the content author of the job for programming right. However, modifying or adding a job script to a document doesn't modify the content author. Together with a CSRF vulnerability in the job scheduler, this can be exploited for remote code execution by an attacker with edit right on the wiki. If the attack is successful, an error log entry with "Job content executed" will be produced. This vulnerability has been patched in XWiki 14.10.9 and 15.4RC1.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- 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 | before 14.10.9; >= 1.3; 15.0-rc-1 to before 15.4-rc-1 | 14.10.9, 15.4-rc-1 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-scheduler-api (Maven) | before 14.10.9 | 14.10.9 | Patch available | GHSA-8xhr-x3v8-rghj |
| — | com.xpn.xwiki.platform.plugins:xwiki-plugin-scheduler (Maven) | 1.3 and later | — | No fix listed | GHSA-8xhr-x3v8-rghj |
| — | org.xwiki.platform:xwiki-platform-scheduler-api (Maven) | 15.0-rc-1 to before 15.4-rc-1 | 15.4-rc-1 | Patch available | GHSA-8xhr-x3v8-rghj |
- xwiki-platform VendorXWiki Affected before 14.10.9; >= 1.3; 15.0-rc-1 to before 15.4-rc-1 Fixed in 14.10.9, 15.4-rc-1 Patch available CNA
- org.xwiki.platform:xwiki-platform-scheduler-api (Maven) Vendor— Affected before 14.10.9 Fixed in 14.10.9 Patch available GHSA-8xhr-x3v8-rghj
- com.xpn.xwiki.platform.plugins:xwiki-plugin-scheduler (Maven) Vendor— Affected 1.3 and later Fixed in — No fix listed GHSA-8xhr-x3v8-rghj
- org.xwiki.platform:xwiki-platform-scheduler-api (Maven) Vendor— Affected 15.0-rc-1 to before 15.4-rc-1 Fixed in 15.4-rc-1 Patch available GHSA-8xhr-x3v8-rghj
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | before 14.10.9 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* | 15.0 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* | 15.0 rc1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:* | 15.1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.1:rc1:*:*:*:*:*:* | 15.1 rc1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.2:-:*:*:*:*:*:* | 15.2 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.2:rc1:*:*:*:*:*:* | 15.2 rc1 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.3:-:*:*:*:*:*:* | 15.3 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:15.3:rc1:*:*:*:*:*:* | 15.3 rc1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions before 14.10.9 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.0:-:*:*:*:*:*:* Versions 15.0 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.0:rc1:*:*:*:*:*:* Versions 15.0 rc1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.1:-:*:*:*:*:*:* Versions 15.1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.1:rc1:*:*:*:*:*:* Versions 15.1 rc1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.2:-:*:*:*:*:*:* Versions 15.2 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.2:rc1:*:*:*:*:*:* Versions 15.2 rc1 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.3:-:*:*:*:*:*:* Versions 15.3 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:15.3:rc1:*:*:*:*:*:* Versions 15.3 rc1 Vulnerable ·XWiki
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.9, 15.4-rc-1
- Fix · GHSA-8xhr-x3v8-rghj org.xwiki.platform:xwiki-platform-scheduler-api (Maven) Fixed in 14.10.9 Advisory →
- Fix · GHSA-8xhr-x3v8-rghj org.xwiki.platform:xwiki-platform-scheduler-api (Maven) Fixed in 15.4-rc-1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-40573
- 2026-10-03 Alias added: GHSA-8xhr-x3v8-rghj
References
Patch 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-2023-40573 · CVE Program
- CVE-2023-40573 · NVD
- FIRST EPSS
- GHSA-8xhr-x3v8-rghj · 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