Skip to main content
ExploitedNot in CISA KEV yetFix available

CVE-2024-31982

Exploitation confirmed. First attested on 2026-09-10 by GCVE · previdian, GCVE · shadowserver.

  • Published2024-04-10
  • Fixed in15.10 · 15.10-rc-1 · 15.5.4 · 14.10.20
  • WeaknessCWE-94 · CWE-95

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-04-1020:15CVE publishedNVD
  2. 2026-09-10Listed as exploited by GCVEGCVE
  3. 2026-09-10Exploitation first reportedGCVE

Versions per branch

NVD · OSV · CISA-ADP
Xwiki
BranchAffectedFixed in
15.x≥ 15.6, < 15.1015.10
15.x≥ 15.6-rc-1, < 15.10-rc-115.10-rc-1
15.x≥ 15.0, < 15.5.415.5.4
15.x≥ 15.0-rc-1, < 15.5.415.5.4
14.10≥ 2.4, < 14.10.2014.10.20
14.10≥ 2.4-milestone-1, < 14.10.2014.10.20
Xwiki xwiki-platform
BranchAffectedFixed in
15.x≥ 15.6-rc-1, < 15.10-rc-115.10-rc-1
15.x≥ 15.0-rc-1, < 15.5.415.5.4
14.10≥ 2.4-milestone-1, < 14.10.2014.10.20

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • xwiki-platform
    Affected
    • = >= 2.4-milestone-1, < 14.10.20no fix stated
    • = >= 15.0-rc-1, < 15.5.4no fix stated
    • = >= 15.6-rc-1, < 15.10-rc-1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-07-09

Fix

  1. Update Xwiki to 15.10 · 15.10-rc-1 · 15.5.4 · 14.10.20

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
available
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2024-04-10
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-2858-8cfx-69m9

Frequently asked questions

What is CVE-2024-31982?

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.

Is CVE-2024-31982 actively exploited?

A proof-of-concept exploit exists for CVE-2024-31982, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-31982?

CVE-2024-31982 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record