CVE-2024-31982

XWiki Platform: Remote code execution as guest via DatabaseSearch

Published Apr 10, 2024 CVSS 3.1 · 10 Critical EPSS 34.5% KEV · Not listed
Description
XWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, XWiki's database search allows remote code execution through the search text. This allows remote code execution for any visitor of a public wiki or user of a closed wiki as the database search is by default accessible for all users. This impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. As a workaround, one may manually apply the patch to the page `Main.DatabaseSearch`. Alternatively, unless database search is explicitly used by users, this page can be deleted as this is not the default search interface of XWiki.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-2858-8cfx-69m9 XWiki Platform: Remote code execution as guest via DatabaseSearch
History
Type Values Removed Values Added
First Time appeared Xwiki xwiki-platform
CPEs cpe:2.3:a:xwiki:xwiki-platform:*:*:*:*:*:*:*:*
Vendors & Products Xwiki xwiki-platform
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Xwiki
Xwiki xwiki
Weaknesses CWE-94
CPEs cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
Vendors & Products Xwiki
Xwiki xwiki
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 25, 2025, 4:39 PM
Reserved
Apr 8, 2024, 1:48 PM
Status
Modified
Published
Apr 10, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:29 AM