CVE-2024-31985
XWiki Platform CSRF in the job scheduler
Also known as GHSA-j2r6-r929-v6gf
Mitigation
- Upgrade org.xwiki.platform:xwiki-platform-scheduler-ui to one of 14.10.19, 15.5.4, 15.9 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.xwiki.platform:xwiki-platform-scheduler-ui (>= 3.1, < 14.10.19)
- Anyone running xwiki-platform >= 3.1, < 14.10.19; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.9
Vulnerability facts
- Affected
- org.xwiki.platform:xwiki-platform-scheduler-ui >= 3.1, < 14.10.19
- Fixed in
- 14.10.19, 15.5.4, 15.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: Required
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-352
- Modified
Description
XWiki Platform is a generic wiki platform. Starting in version 3.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, it is possible to schedule/trigger/unschedule existing jobs by having an admin visit the Job Scheduler page through a predictable URL, for example by embedding such an URL in any content as an image. The vulnerability has been fixed in XWiki 14.10.19, 15.5.5, and 15.9. As a workaround, manually apply the patch by modifying the `Scheduler.WebHome` page.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.xwiki.platform:xwiki-platform-scheduler-ui | >= 3.1, < 14.10.19 | 14.10.19, 15.5.4, 15.9 | osv |
| xwiki-platform | >= 3.1, < 14.10.19; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-31985. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-31985.md Affected: org.xwiki.platform:xwiki-platform-scheduler-ui >= 3.1, < 14.10.19 Fixed in: 14.10.19, 15.5.4, 15.9 Steps: 1. Search this machine and project for org.xwiki.platform:xwiki-platform-scheduler-ui (Maven), xwiki-platform: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/xwiki/xwiki-platform/commit/8a92cb4bef7e5f244ae81eed3e64fe9be95827cf
- https://github.com/xwiki/xwiki-platform/commit/efd3570f3e5e944ec0ad0899bf799bf9563aef87
- https://github.com/xwiki/xwiki-platform/commit/f16ca4ef1513f84ce2e685d4a05d689bd3a2ab4c
- https://github.com/xwiki/xwiki-platform/commit/f30d9c641750a3f034b5910c6a3a7724ae8f2269
Exploits and PoCs
FAQ
Is CVE-2024-31985 being exploited?
There is no confirmed exploitation: CVE-2024-31985 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-31985?
Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2024-31985?
org.xwiki.platform:xwiki-platform-scheduler-ui >= 3.1, < 14.10.19.
Is there a fix for CVE-2024-31985?
Yes. Fixed in 14.10.19, 15.5.4, 15.9. Upgrade org.xwiki.platform:xwiki-platform-scheduler-ui to one of 14.10.19, 15.5.4, 15.9 (or later in the same release line).
How do I check if I'm affected by CVE-2024-31985?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.