# CVE-2024-31985: XWiki Platform CSRF in the job scheduler

Source: https://junglewise.ai/threats/cve-2024-31985-xwiki-platform-csrf-in-the-job-scheduler  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-04-10  
License: CC BY 4.0 with a link back

CVE-2024-31985 · Severity: low · CVSS 3.1 · Published 2024-04-10

XWiki Platform CSRF in the job scheduler

Technologies: [org.xwiki.platform:xwiki-platform-scheduler-ui (Maven)](https://junglewise.ai/threats/technologies/org-xwiki-platform-xwiki-platform-scheduler-ui). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-31985 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-31985 being exploited in the wild.

**How severe is CVE-2024-31985?** Low severity, with a CVSS score of 3.1, published 10 April 2024.

**Which products and versions are affected?** org.xwiki.platform:xwiki-platform-scheduler-ui (Maven) ECOSYSTEM:introduced=3.1,fixed=14.10.19.

**Is there a fix for CVE-2024-31985?** Yes. org.xwiki.platform:xwiki-platform-scheduler-ui (Maven): upgrade to 14.10.19 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-31985?** Check whether you run org.xwiki.platform:xwiki-platform-scheduler-ui (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.xwiki.platform:xwiki-platform-scheduler-ui (Maven): upgrade to 14.10.19 or later

  ```sh
  # set org.xwiki.platform:xwiki-platform-scheduler-ui to 14.10.19 in your pom.xml or build.gradle
  ```


## Affected products

- org.xwiki.platform:xwiki-platform-scheduler-ui (Maven) ECOSYSTEM:introduced=3.1,fixed=14.10.19

## Identifiers

- CVE-2024-31985
- GHSA-j2r6-r929-v6gf

## Related threats

- [XWiki's scheduler in subwiki allows scheduling operations for any main wiki user](https://junglewise.ai/threats/cve-2024-55876-xwiki-s-scheduler-in-subwiki-allows-scheduling-operations-for-any)
- [XWiki Platform CSRF remote code execution through scheduler job's document reference](https://junglewise.ai/threats/cve-2024-31986-xwiki-platform-csrf-remote-code-execution-through-scheduler-job-s)
- [XWiki Platform vulnerable to code injection from account through XWiki.SchedulerJobSheet](https://junglewise.ai/threats/cve-2023-29524-xwiki-platform-vulnerable-to-code-injection-from-account-through)
