Skip to main content
No exploitation reportedFix available

CVE-2024-31981

No exploitation reported by the sources we read.

  • Published2024-04-10
  • Fixed in15.10-rc-1 · 15.9 · 15.5.4 · 14.10.20 · 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 3.0.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, remote code execution is possible via PDF export templates. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10-rc-1. If PDF templates are not typically used on the instance, an administrator can create the document `XWiki.PDFClass` and block its edition, after making sure that it does not contain a `style` attribute. Otherwise, there are no known workarounds aside from upgrading.

Timeline

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

Versions per branch

OSV · NVD · CISA-ADP
Xwiki
BranchAffectedFixed in
15.x≥ 15.6-rc-1, < 15.10-rc-115.10-rc-1
15.x≥ 15.6, < 15.915.9
15.x≥ 15.6-rc-1, < 15.915.9
15.x≥ 15.0, < 15.5.415.5.4
15.x≥ 15.0-rc-1, < 15.5.415.5.4
14.10≥ 3.0.1, < 14.10.2014.10.20
14.10≥ 3.0.1, < 14.10.1914.10.19
14.10≥ 3.01, < 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
    • = >= 3.0.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-04-10

Fix

  1. Update Xwiki to 15.10-rc-1 · 15.9 · 15.5.4 · 14.10.20 · 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-06-26
  • 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-vxwr-wpjv-qjq7

Frequently asked questions

What is CVE-2024-31981?

XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.20, 15.5.4, and 15.10-rc-1, remote code execution is possible via PDF export templates. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10-rc-1. If PDF templates are not typically used on the instance, an administrator can create the document `XWiki.PDFClass` and block its edition, after making sure that it does not contain a `style` attribute. Otherwise, there are no known workarounds aside from upgrading.

Is CVE-2024-31981 actively exploited?

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

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

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