WaratekVRT Sign in

CVE-2024-31981 XWiki

Affected softwareXWiki
Severity9.9 Critical CVSS 3.1 2 scores
Fixed in14.10.20, 15.5.4, 15.10-rc-1
WeaknessMissing authorization (CWE-862)
Published10 Apr 2024
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 2 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 1.4% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: xwiki/xwiki-platform 480186f.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/xwiki/xwiki-platform/commit/480186f9d2fca880513da8bc5a609674d106cbd3 : a commit: the change itself

CVSS

9.9 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.9 CRITICAL CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H security-advisories@github.com Secondary published
CVSS 3.1 8.8 HIGH CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.platform:xwiki-platform-oldcore 3.0.1 14.10.20 unbounded
org.xwiki.platform:xwiki-platform-oldcore 15.0-rc-1 15.5.4 unbounded
org.xwiki.platform:xwiki-platform-oldcore 15.6-rc-1 15.10-rc-1 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.platform xwiki-platform-oldcore generic ≥ 3.0.1 and < 14.10.20 · ≥ 15.0 and < 15.5.4 · ≥ 15.6 and < 15.10
nvd xwiki xwiki generic ≥ 3.0.1 and < 14.10.19 · ≥ 15.0 and < 15.5.4 · ≥ 15.6 and < 15.9

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/480186f9d2fca880513da8bc5a609674d106cbd3 commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-vxwr-wpjv-qjq7 WEB
https://github.com/xwiki/xwiki-platform/commit/a4ad14d9c1605a5ab957237e505ebbb29f5b9d73 WEB
https://github.com/xwiki/xwiki-platform/commit/d28e21a670c69880b951e415dd2ddd69d273eae9 WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-21337 WEB

Timeline

Published2024-04-10By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.