CVE-2024-31465
Java vulnerability analysis and mitigation

Overview

CVE-2024-31465 affects XWiki Platform, a generic wiki platform. The vulnerability was discovered in versions starting from 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1. The issue allows any user with edit rights on any page to execute arbitrary code on the server by adding an object of type XWiki.SearchSuggestSourceClass to their user profile or any other page (GitHub Advisory).

Technical details

The vulnerability stems from improper escaping in XWiki.SearchSuggestSourceSheet, which allows code injection through object properties. An attacker can exploit this by adding an object of type XWiki.SearchSuggestSourceClass and setting properties with malicious code that gets executed when the page is viewed with the SearchSuggestSourceSheet. The vulnerability has been assigned a CVSS v3.1 score of 9.9 (Critical) with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, indicating its severe impact (NVD).

Impact

The vulnerability compromises the confidentiality, integrity, and availability of the entire XWiki installation. It allows privilege escalation from a regular user account to programming rights, enabling unauthorized code execution on the server (GitHub Advisory).

Exploitability

The vulnerability is easily exploitable by any authenticated user with edit rights. An attacker can exploit it by adding a malicious object to their user profile or any editable page and viewing it with the SearchSuggestSourceSheet parameter. A proof of concept involves setting object properties to }}}{{async}}{{groovy}}println("Hello from Groovy!"){{/groovy}}{{/async}} and accessing the page with ?sheet=XWiki.SearchSuggestSourceSheet (XWIKI Jira).

Mitigation and workarounds

The vulnerability has been patched in XWiki versions 14.10.20, 15.5.4, and 15.10 RC1. As a workaround, administrators can manually apply the patch to the document XWiki.SearchSuggestSourceSheet if immediate upgrade is not possible (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-58400CRITICAL9.1
  • Java logoJava
  • org.geonetwork-opensource:gs-web-app
NoYesSep 03, 2026
CVE-2026-63219HIGH8.6
  • Java logoJava
  • org.geonetwork-opensource:gn-web-app
NoYesSep 03, 2026
CVE-2026-49832HIGH8
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-49833MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 2026
CVE-2026-49831MEDIUM5.5
  • Java logoJava
  • org.dspace:dspace-api
NoYesSep 02, 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