CVE-2024-31986
published critical CVSS 3.1 · 9.1XWiki Platform CSRF remote code execution through scheduler job's document reference
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| xwiki | — | xwiki-platform>= 3.1, < 14.10.19 · >= 15.0-rc-1, < 15.5.4 · >= 15.6-rc-1, < 15.9 | Affected | Not stated | GitHub_M |
| xwiki | — | xwiki3.1 to < 14.10.19 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| xwiki | — | xwiki15.0 to < 15.5.4 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| xwiki | — | xwiki15.6 to < 15.9 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, by creating a document with a special crafted documented reference and an `XWiki.SchedulerJobClass` XObject, it is possible to execute arbitrary code on the server whenever an admin visits the scheduler page or the scheduler page is referenced, e.g., via an image in a comment on a page in the wiki. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9. As a workaround, apply the patch manually by modifying the `Scheduler.WebHome` page.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| xwiki | xwiki-platform | >= 3.1, < 14.10.19 (affected)>= 15.0-rc-1, < 15.5.4 (affected)>= 15.6-rc-1, < 15.9 (affected) | GitHub_M · cna |
| xwiki | xwiki | 3.1 to < 14.10.19 (affected · custom)Default: unknown | CISA-ADP · adp |
| xwiki | xwiki | 15.0 to < 15.5.4 (affected · custom)Default: unknown | CISA-ADP · adp |
| xwiki | xwiki | 15.6 to < 15.9 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-352 CWE-352: Cross-Site Request Forgery (CSRF)
- CWE-95 CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
5- https://github.com/xwiki/xwiki-platform/commit/8a92cb4bef7e5f244ae81eed3e64fe9be95827cf
- https://github.com/xwiki/xwiki-platform/commit/efd3570f3e5e944ec0ad0899bf799bf9563aef87
- https://github.com/xwiki/xwiki-platform/commit/f30d9c641750a3f034b5910c6a3a7724ae8f2269
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-37m4-hqxv-w26g
- https://jira.xwiki.org/browse/XWIKI-21416
Provider assertions
3GitHub_M · cna
XWiki Platform CSRF remote code execution through scheduler job's document reference
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dbfd6bf848918a169661eb9a11127dcd5f69fbf1ecbb23f026ccd3eb8570511a
- Ingested
- 23 Sep 2026, 08:22:40 UTC
- Source record
- Official CVE record