CVE-2024-31997Xwiki
High 8.8
Follow: this CVE · Xwiki · Xwiki We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 3.2% probability of exploitation in 30 days · percentile 89
- Auth required
- Yes
- Published
- Apr 10, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-862
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Xwiki.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-uiextension-api |
< 14.10.19 |
14.10.19 |
— |
| Maven | org.xwiki.platform:xwiki-platform-uiextension-api |
≥ 15.0-rc-1 < 15.5.4 |
15.5.4 |
— |
| Maven | org.xwiki.platform:xwiki-platform-uiextension-api |
≥ 15.6-rc-1 < 15.9-rc-1 |
15.9-rc-1 |
— |
Per OSV / GitHub Advisories (GHSA-c2gg-4gq4-jv5j). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki | < 14.10.19 |
| xwiki | xwiki | ≥ 15.0 < 15.5.4 |
| xwiki | xwiki | ≥ 15.6 < 15.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Exploit Vendor Advisory
- jira.xwiki.org Exploit Vendor Advisory