Eval Injection in XWiki platform - CVE-2024-31465

 

Eval Injection in XWiki platform - CVE-2024-31465

Published: April 10, 2024 / Updated: May 5, 2026


Vulnerability identifier: #VU129898
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-31465
CWE-ID: CWE-95
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code on the server.

The vulnerability exists due to improper neutralization of directives in dynamically evaluated code in XWiki.SearchSuggestSourceSheet when rendering a page with a XWiki.SearchSuggestSourceClass object. A remote user can add a crafted XWiki.SearchSuggestSourceClass object to a user profile or another page to execute arbitrary code on the server.

The issue can be triggered by any user with edit right on any page, even without script or programming rights.


Affected software

XWiki platform

How to mitigate CVE-2024-31465

Install security update from vendor's website.

XWiki platform - addressed in versions 14.10.20, 15.5.4, 15.10

External References

Related Security Bulletins