Skip to content
Vulnerability Intelligence

CVE-2024-31997

High

XWiki Platform remote code execution from account through UIExtension parameters

Published Apr 10, 2024 · Updated Sep 10, 2026 · Also known as GHSA-c2gg-4gq4-jv5j

Key Facts

Patch immediately
  • CVE-2024-31997 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Xwiki, org.xwiki.platform:xwiki-platform-uiextension-api (maven), xwiki-platform.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 74% probability of exploitation in the next 30 days.
  • Fixed versions are available, including org.xwiki.platform:xwiki-platform-uiextension-api 14.10.19, org.xwiki.platform:xwiki-platform-uiextension-api 15.5.4, org.xwiki.platform:xwiki-platform-uiextension-api 15.9-rc-1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

74%

Higher than 99.4% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2024-31997 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
XwikiXwikiSee advisory14.10.19
org.xwiki.platform:xwiki-platform-uiextension-apimavenSee advisory15.9-rc-1
xwiki-platform>= < 14.10.19n/a

Patched Releases

org.xwiki.platform:xwiki-platform-uiextension-api

14.10.19, 15.5.4, 15.9-rc-1

Xwiki

14.10.19

Timeline

  1. Publicly disclosed

    Apr 10, 2024

  2. Last updated

    Sep 10, 2026

Weakness Type

  • CWE-862 Missing Authorization

References

4 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2024-31997 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo