CVE-2024-31986 json
XWiki Platform CSRF remote code execution through scheduler job's document reference
published 2024-04-10 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1076 , GHSA-37m4-hqxv-w26g
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.xwiki.platform:xwiki-platform-scheduler-ui 14.10.19, 15.5.4, 15.9
- xwiki xwiki 14.10.19, 15.5.4, 15.9
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- jira.xwiki.org https://jira.xwiki.org/browse/XWIKI-21416 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.platform:xwiki-platform-scheduler-ui | >=3.1, <14.10.19 >=15.0-rc-1, <15.5.4 >=15.6-rc-1, <15.9 |
14.10.19 15.5.4 15.9 |
Affected products
- xwiki xwiki-platform
- xwiki xwiki
Classification
References
-
github.com
/xwiki/xwiki-platform/commit/8a92cb4bef7e5f244ae81eed3e64fe9be95827cf
web, patch
-
github.com
/xwiki/xwiki-platform/commit/efd3570f3e5e944ec0ad0899bf799bf9563aef87
web, patch
-
github.com
/xwiki/xwiki-platform/commit/f30d9c641750a3f034b5910c6a3a7724ae8f2269
web, patch
-
jira.xwiki.org
/browse/XWIKI-21416
web, exploit, vendor-advisory
-
github.com
/xwiki/xwiki-platform/security/advisories/GHSA-37m4-hqxv-w26g
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-31986
advisory
-
github.com
/xwiki/xwiki-platform
package
Sources
- CVE List CVE-2024-31986
- GitHub Advisory GHSA-37m4-hqxv-w26g
- NVD CVE-2024-31986
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.