CVE-2024-31987
HIGH 8.8CVSS 3.1XWiki Platform remote code execution from account via custom skins support
XWiki Platform is a generic wiki platform. Starting in version 6.4-milestone-1 and prior to versions 4.10.19, 15.5.4, and 15.10-rc-1, any user who can edit any page like their profile can create a custom skin with a template override that is executed with programming right, thus allowing remote code execution. This has been patched in XWiki 14.10.19, 15.5.4 and 15.10RC1. No known workarounds are available except for upgrading.
- Published
- 10 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-862
- Also known as
- GHSA-cv55-v6rw-7r5v
- Sources
- NVDJSONOSV GHSA-cv55-v6rw-7r5vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 6.4, < 14.10.19 | 14.10.19 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 15.0, < 15.5.4 | 15.5.4 |
| NVD | xwiki | xwikicpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* |
>= 15.6, < 15.10 | 15.10 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 6.4-milestone-1, < 14.10.19 | 14.10.19 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 15.0-rc-1, < 15.5.4 | 15.5.4 |
| OSV | Maven | org.xwiki.platform:xwiki-platform-oldcore | >= 15.6-rc-1, < 15.10-rc-1 | 15.10-rc-1 |
References
- https://github.com/xwiki/xwiki-platform/commit/3d4dbb41f52d1a6e39835cfb1695ca6668605a39 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/commit/626d2a5dbf95b4e719ae13bf1a0a9c76e4edd5a2 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/commit/da177c3c972e797d92c1a31e278f946012c41b56 · Patch, WEB
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-cv55-v6rw-7r5v · Exploit, Vendor Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-21478 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-31987 · ADVISORY
- https://github.com/xwiki/xwiki-platform · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 10 Apr 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Apr 2024)