Read the docs
TI-2024-21081 Aliases CVE-2024-31982GHSA-2858-8cfx-69m9

XWiki Platform: Remote code execution as guest via DatabaseSearch

Priority HIGH 82CWE-95Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-95.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.3452 98th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed xwiki-platform (xwiki): 14.10.20, 15.5.4, 15.10-rc-1org.xwiki.platform:xwiki-platform-search-ui (Maven): 14.10.20, 15.5.4, 15.10-rc-1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
XWikixwiki-platform2.4-milestone-1 to before 14.10.20; 15.0-rc-1 to before 15.5.4; 15.6-rc-1 to before 15.10-rc-114.10.20, 15.5.4, 15.10-rc-1Patch availableCNA
—org.xwiki.platform:xwiki-platform-search-ui (Maven)2.4-milestone-1 to before 14.10.2014.10.20Patch availableGHSA-2858-8cfx-69m9
—org.xwiki.platform:xwiki-platform-search-ui (Maven)15.0-rc-1 to before 15.5.415.5.4Patch availableGHSA-2858-8cfx-69m9
—org.xwiki.platform:xwiki-platform-search-ui (Maven)15.6-rc-1 to before 15.10-rc-115.10-rc-1Patch availableGHSA-2858-8cfx-69m9
  • xwiki-platform VendorXWiki Affected 2.4-milestone-1 to before 14.10.20; 15.0-rc-1 to before 15.5.4; 15.6-rc-1 to before 15.10-rc-1 Fixed in 14.10.20, 15.5.4, 15.10-rc-1 Patch available CNA
  • org.xwiki.platform:xwiki-platform-search-ui (Maven) Vendor— Affected 2.4-milestone-1 to before 14.10.20 Fixed in 14.10.20 Patch available GHSA-2858-8cfx-69m9
  • org.xwiki.platform:xwiki-platform-search-ui (Maven) Vendor— Affected 15.0-rc-1 to before 15.5.4 Fixed in 15.5.4 Patch available GHSA-2858-8cfx-69m9
  • org.xwiki.platform:xwiki-platform-search-ui (Maven) Vendor— Affected 15.6-rc-1 to before 15.10-rc-1 Fixed in 15.10-rc-1 Patch available GHSA-2858-8cfx-69m9

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*2.4 to before 14.10.20; 15.0 to before 15.5.4; 15.6 to before 15.10VulnerableXWiki
  • cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions 2.4 to before 14.10.20; 15.0 to before 15.5.4; 15.6 to before 15.10 Vulnerable ·XWiki

Remediation

  • Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.20, 15.5.4, 15.10-rc-1
  • Fix · GHSA-2858-8cfx-69m9 org.xwiki.platform:xwiki-platform-search-ui (Maven) Fixed in 14.10.20 Advisory →
  • Fix · GHSA-2858-8cfx-69m9 org.xwiki.platform:xwiki-platform-search-ui (Maven) Fixed in 15.5.4 Advisory →
  • Fix · GHSA-2858-8cfx-69m9 org.xwiki.platform:xwiki-platform-search-ui (Maven) Fixed in 15.10-rc-1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-31982
  2. 2026-10-03 Alias added: GHSA-2858-8cfx-69m9

References

  • TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
  • TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
  • TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
  • TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
  • TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
See all 247 →

Sources