# CVE-2024-31987: XWiki Platform remote code execution from account via custom skins support

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.45%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-04-10T17:14:47.000Z
- Modified: 2026-09-10T03:50:11.332Z
- Also known as: GHSA-cv55-v6rw-7r5v
- Weaknesses: CWE-862
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 6.4-milestone-1, < 14.10.19; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.10-rc-1; from 6.4-milestone-1 before 14.10.19; from 15.0-rc-1 before 15.5.4; from 15.6-rc-1 before 15.10-rc-1
- org.xwiki.platform:xwiki-platform-oldcore (Maven): from 6.4-milestone-1 before 14.10.19; from 15.0-rc-1 before 15.5.4; from 15.6-rc-1 before 15.10-rc-1
- xwiki xwiki: from 6.4 before 14.10.19; from 15.0 before 15.5.4; from 15.6 before 15.10

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: 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`
- NVD: 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`

## References

- <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://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://nvd.nist.gov/vuln/detail/CVE-2024-31987> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2024-31987](https://www.cve.org/CVERecord?id=CVE-2024-31987), CVE Terms of Use, modified 2024-08-20
- GitHub Advisory Database: [GHSA-cv55-v6rw-7r5v](https://github.com/advisories/GHSA-cv55-v6rw-7r5v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-31987](https://nvd.nist.gov/vuln/detail/CVE-2024-31987), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-31987 · Whole record: https://cve.day/CVE-2024-31987.json · Rebuilt by cve.day 2026-11-25T22:58:39.078Z
