WaratekVRT Sign in

CVE-2024-31997 XWiki

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

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.

Exploitation status

Forecast only (74% 30-day chance)

No exploit has been reported in the sources we check. EPSS puts this CVE in the top 0.51% of all scored CVEs. That is a model's forecast, not a report of exploitation.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 74% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.

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 171e7c7.

  • 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/171e7c7d0e56deaa7b3678657ae26ef95379b1ea : 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-uiextension-api 0 14.10.19 unbounded
org.xwiki.platform:xwiki-platform-uiextension-api 15.0-rc-1 15.5.4 unbounded
org.xwiki.platform:xwiki-platform-uiextension-api 15.6-rc-1 15.9-rc-1 unbounded

Products and versions

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

References

URLTags
https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea commit
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j WEB
https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d WEB
https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7 WEB
https://github.com/xwiki/xwiki-platform PACKAGE
https://jira.xwiki.org/browse/XWIKI-21335 WEB

Timeline

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