Skip to main content
Public proof of conceptFix available

CVE-2024-31987

A public proof of concept exists; no exploitation attested.

  • Published2024-04-10
  • Fixed in15.10 · 15.10-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. Starting in version 6.4-milestone-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, any user who can edit any page like their profile can create a custom skin with a template override that is executed with programming right, thus allowing remote code execution. This has been patched in XWiki 14.10.19, 15.5.4 and 15.10RC1. No known workarounds are available except for upgrading.

Timeline

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

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≥ 6.4, < 14.10.1914.10.19
14.10≥ 6.4-milestone-1, < 14.10.1914.10.19
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≥ 6.4-milestone-1, < 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
    • = >= 6.4-milestone-1, < 14.10.19no 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-04-10

Fix

  1. Update Xwiki to 15.10 · 15.10-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 decisionpoc2024-08-20
  • 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 score1.4 %2026-11-18
  • 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-cv55-v6rw-7r5v

Frequently asked questions

What is CVE-2024-31987?

XWiki Platform is a generic wiki platform. Starting in version 6.4-milestone-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, any user who can edit any page like their profile can create a custom skin with a template override that is executed with programming right, thus allowing remote code execution. This has been patched in XWiki 14.10.19, 15.5.4 and 15.10RC1. No known workarounds are available except for upgrading.

Is CVE-2024-31987 actively exploited?

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

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

CVE-2024-31987 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