CVE-2024-31997
CVE-2024-31997 is a critical-severity vulnerability in Xwiki with a CVSS 3.x base score of 9.9. Its EPSS exploit-prediction score of 74% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-862.
Key facts
- Severity: Critical (CVSS 3.x base score 9.9)
- EPSS exploit prediction: 74% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-1179
- Weakness: CWE-862
- Affected product: Xwiki
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-31997?
- 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.
- How severe is CVE-2024-31997?
- CVE-2024-31997 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-31997 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 74% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-31997?
- CVE-2024-31997 affects Xwiki. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-31997?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2024-31997 have an EU (EUVD) identifier?
- Yes. CVE-2024-31997 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1179.
- When was CVE-2024-31997 published?
- CVE-2024-31997 was published on 2024-04-10 and last updated on 2026-06-17.
References
- https://github.com/xwiki/xwiki-platform/commit/171e7c7d0e56deaa7b3678657ae26ef95379b1ea
- https://github.com/xwiki/xwiki-platform/commit/1b2574eb966457ca4ef34e557376b8751d1be90d
- https://github.com/xwiki/xwiki-platform/commit/56748e154a9011f0d6239bec0823eaaeab6ec3f7
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-c2gg-4gq4-jv5j
- https://jira.xwiki.org/browse/XWIKI-21335
Affected products (1)
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
More vulnerabilities in Xwiki
- CVE-2024-31996 — Critical (CVSS 10.0): XWiki Platform is a generic wiki platform. Starting in version 3.0.1 and prior to versions 4.10.19, 15.5.4, and…
- CVE-2024-31982 — Critical (CVSS 10.0): XWiki Platform is a generic wiki platform. Starting in version 2.4-milestone-1 and prior to versions 4.10.20, 15.5.4,…
- CVE-2024-21650 — Critical (CVSS 10.0): XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki is…
- CVE-2023-46731 — Critical (CVSS 10.0): XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. XWiki doesn't…
- CVE-2023-26477 — Critical (CVSS 10.0): XWiki Platform is a generic wiki platform. Starting in versions 6.3-rc-1 and 6.2.4, it's possible to inject arbitrary…
- CVE-2025-53836 — Critical (CVSS 9.9): XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc)…
Other CWE-862 (Missing Authorization) vulnerabilities
- CVE-2026-0092 — Critical (CVSS 10.0): In Package Manager, there is a possible device lock controller bypass due to a missing permission check. This could…
- CVE-2026-33712 — Critical (CVSS 10.0): Typebot is a chatbot builder tool. In versions 3.15.2 and prior, the preview chat endpoint (POST…
- CVE-2026-2031 — Critical (CVSS 10.0): An Improper Access Control vulnerability in several internal API endpoints for Google Cloud Application Integration…
- CVE-2026-34976 — Critical (CVSS 10.0): Dgraph is an open source distributed GraphQL database. Prior to 25.3.1, the restoreTenant admin mutation is missing…
- CVE-2025-30416 — Critical (CVSS 10.0): Sensitive data disclosure and manipulation due to missing authorization. The following products are affected: Acronis…
- CVE-2025-45854 — Critical (CVSS 10.0): /server/executeExec of JEHC-BPM 2.0.1 allows attackers to execute arbitrary code via execParams.
Browse all CWE-862 (Missing Authorization) vulnerabilities →