Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-search-ui
  4. ›
  5. CVE-2024-31982

CVE-2024-31982: XWiki Platform: Remote code execution as guest via DatabaseSearch

April 10, 2024 (updated September 26, 2025)

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.

References

  • github.com/advisories/GHSA-2858-8cfx-69m9
  • github.com/xwiki/xwiki-platform
  • github.com/xwiki/xwiki-platform/commit/3c9e4bb04286de94ad24854026a09fa967538e31
  • github.com/xwiki/xwiki-platform/commit/459e968be8740c8abc2a168196ce21e5ba93cfb8
  • github.com/xwiki/xwiki-platform/commit/95bdd6cc6298acdf7f8f21298d40eeb8390a8565
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-2858-8cfx-69m9
  • jira.xwiki.org/browse/XWIKI-21472
  • nvd.nist.gov/vuln/detail/CVE-2024-31982
  • www.vicarius.io/vsociety/posts/cve-2024-31982-detect-xwiki-vulnerability
  • www.vicarius.io/vsociety/posts/cve-2024-31982-xwiki-mitigation-vulnerability
  • www.vicarius.io/vsociety/posts/xwiki-rce-cve-2024-31982

Code Behaviors & Features

Detect and mitigate CVE-2024-31982 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.4-milestone-1 before 14.10.20, all versions starting from 15.0-rc-1 before 15.5.4, all versions starting from 15.6-rc-1 before 15.10-rc-1

Fixed versions

  • 14.10.20
  • 15.5.4
  • 15.10-rc-1

Solution

Upgrade to versions 14.10.20, 15.10-rc-1, 15.5.4 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')
  • CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')

Source file

maven/org.xwiki.platform/xwiki-platform-search-ui/CVE-2024-31982.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 15 Oct 2025 00:19:07 +0000.