Security mailing lists by PureSourceCode

CVE-2024-31982

CRITICAL 9.8CVSS 3.1

XWiki Platform: Remote code execution as guest via DatabaseSearch

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.

Published
10 Apr 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-94CWE-95
Also known as
GHSA-2858-8cfx-69m9
Sources
NVDJSONOSV GHSA-2858-8cfx-69m9JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 10.0 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
>= 2.4, < 14.10.20 14.10.20
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
>= 15.0, < 15.5.4 15.5.4
NVD xwiki xwiki
cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
>= 15.6, < 15.10 15.10
OSV Maven org.xwiki.platform:xwiki-platform-search-ui >= 2.4-milestone-1, < 14.10.20 14.10.20
OSV Maven org.xwiki.platform:xwiki-platform-search-ui >= 15.0-rc-1, < 15.5.4 15.5.4
OSV Maven org.xwiki.platform:xwiki-platform-search-ui >= 15.6-rc-1, < 15.10-rc-1 15.10-rc-1

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Apr 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Apr 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.