Skip to main content
No exploitation reportedFix available

CVE-2024-31997

No exploitation reported by the sources we read.

  • Published2024-04-10
  • Fixed in15.9 · 15.9-rc-1 · 15.5.4 · 14.10.19
  • WeaknessCWE-862

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. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.

Timeline

dates in UTC
  1. 2024-04-1022:15CVE publishedNVD

Versions per branch

NVD · CISA-ADP · OSV
Xwiki
BranchAffectedFixed in
15.x≥ 15.6, < 15.915.9
15.x≥ 15.6-rc-1, < 15.9-rc-115.9-rc-1
15.x≥ 15.0, < 15.5.415.5.4
15.x≥ 15.0-rc-1, < 15.5.415.5.4
14.10< 14.10.1914.10.19

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
    • = < 14.10.19no fix stated
    • = >= 15.0-rc-1, < 15.5.4no fix stated
    • = >= 15.6-rc-1, < 15.9-rc-1no fix stated

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

Fix

  1. Update Xwiki to 15.9 · 15.9-rc-1 · 15.5.4 · 14.10.19

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2024-04-11
  • CNACVSS 3.19.9known since 2026-10-23
  • NVDCVSS 3.18.8read 2026-10-23
  • CNAweakness (CWE)CWE-862known since 2026-10-23
  • NVDweakness (CWE)CWE-862read 2026-10-23
  • FIRST EPSSEPSS score73.9 %read 2026-11-19
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCritical2024-04-10

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2024-04-10
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-c2gg-4gq4-jv5j

Frequently asked questions

What is CVE-2024-31997?

XWiki Platform is a generic wiki platform. Prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, parameters of UI extensions are always interpreted as Velocity code and executed with programming rights. Any user with edit right on any document like the user's own profile can create UI extensions. This allows remote code execution and thereby impacts the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.19, 15.5.4 and 15.9-RC1. No known workarounds are available.

Is CVE-2024-31997 actively exploited?

Active exploitation of CVE-2024-31997 has not been confirmed. Its EPSS score was 73.9% on 2026-11-19, the estimated probability of exploitation in the next 30 days.

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

CVE-2024-31997 has a CVSS v3 base score of 8.8 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/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