BreachSpiderVerified, not vibes

CVE-2024-31986 in Xwiki

High 8.8 Fix available

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 sc...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
EPSS1.3%
EPSS percentile70th
FixAvailable

Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Xwiki Xwiki ≥ 3.1.1, < 14.10.19 ≥ 15.0, < 15.5.4 ≥ 15.6, < 15.9

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-31986
BreachSpider IDBS-2024-GLOBAL-191669-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2024-04-10
Last modified2025-01-21
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-95: CWE-95

CWE-352: Cross-Site Request Forgery (CSRF)

Web application does not verify that a request was intentionally sent by the authenticated user.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-95

CAPEC-462 Cross-Domain Search Timing via CWE-352

CAPEC-467 Cross Site Identification via CWE-352

CAPEC-62 Cross Site Request Forgery via CWE-352

CAPEC-111 JSON Hijacking (aka JavaScript Hijacking) via CWE-352

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A critical vulnerability in XWiki Platform versions 3.1 through 4.10.18, 15.5.3 and earlier, and 15.10-rc before 15.10-rc-1 allows for arbitrary code execution by crafting a document with a special reference and an XWiki.SchedulerJobClass XObject.

An attacker can create a document with a specially crafted reference and an XWiki.SchedulerJobClass XObject. When an admin visits the scheduler page or the scheduler page is referenced (e.g., via an image in a comment), the arbitrary code is executed on the server.

Questions

What is CVE-2024-31986?

A critical vulnerability in XWiki Platform versions 3.1 through 4.10.18, 15.5.3 and earlier, and 15.10-rc before 15.10-rc-1 allows for arbitrary code execution by crafting a document with a special reference and an XWiki.SchedulerJobClass XObject.

What is the CVSS score for CVE-2024-31986?

CVE-2024-31986 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 1.3%.

Is CVE-2024-31986 actively exploited?

No confirmed active exploitation of CVE-2024-31986 as of 2026-05-30.

How do I remediate CVE-2024-31986?

Priority: IMMEDIATE. Advisory: https://jira.xwiki.org/browse/XWIKI-21416 PSIRT: [email protected]

What systems are affected by CVE-2024-31986?

CVE-2024-31986 affects Xwiki Xwiki.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Xwiki","product":"Xwiki","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-01-21.