CVE-2024-31986
Java vulnerability analysis and mitigation

Overview

CVE-2024-31986 affects XWiki Platform, a generic wiki platform. The vulnerability was discovered in version 3.1 and affects versions prior to 14.10.19, 15.5.4, and 15.10-rc-1. The issue allows an attacker to execute arbitrary code on the server through a specially crafted document reference and an XWiki.SchedulerJobClass XObject when an admin visits the scheduler page or when the scheduler page is referenced (GitHub Advisory).

Technical details

The vulnerability combines Cross-Site Request Forgery (CSRF) with code injection techniques. It can be triggered when an admin visits the scheduler page or when the scheduler page is referenced, for example through an image in a comment. The vulnerability has been assigned a CVSS v3.1 score of 9.0 CRITICAL (Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H) and is associated with CWE-352 (CSRF) and CWE-95 (Eval Injection) (NVD).

Impact

When successfully exploited, the vulnerability allows attackers to execute arbitrary code on the server with elevated privileges. This can lead to complete system compromise, as the code executes with administrative privileges when triggered (GitHub Advisory).

Exploitability

The vulnerability requires an attacker to have edit rights to create a document with a specially crafted reference and add an XWiki.SchedulerJobClass XObject. The exploit is triggered when an administrator visits the scheduler page or when the page is referenced through other means like an image in a comment (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been fixed in XWiki versions 14.10.19, 15.5.5, and 15.9. For users unable to upgrade immediately, a workaround is available by manually modifying the Scheduler.WebHome page according to the provided patch (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-10050HIGH8.7
  • Java logoJava
  • spark-kubernetes-operator-fips
NoYesAug 04, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • netty-javadoc
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-53573MEDIUM4.8
  • Java logoJava
  • org.geonetwork-opensource:geonetwork
NoYesJul 31, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • jsoup
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management