# CVE-2024-55877: XWiki allows remote code execution from account through macro descriptions and XWiki.XWikiSyntaxMacrosList

- 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.60%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-12-12T19:13:43.128Z
- Modified: 2026-06-17T08:11:23.777Z
- Also known as: GHSA-2r87-74cx-2p7c
- Weaknesses: CWE-94, CWE-96
- 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 9.7-rc-1 and prior to versions 15.10.11, 16.4.1, and 16.5.0, any user with an account can perform arbitrary remote code execution by adding instances of `XWiki.WikiMacroClass` to any page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been fixed in XWiki 15.10.11, 16.4.1 and 16.5.0. It is possible to manually apply the patch to the page `XWiki.XWikiSyntaxMacrosList` as a workaround.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 9.7-rc-1, < 15.10.11; >= 16.0.0-rc-1, < 16.4.1; >= 16.5.0-rc-1, < 16.5.0
- org.xwiki.platform:xwiki-platform-help-ui (Maven): from 9.7-rc-1 before 15.10.11; from 16.0.0-rc-1 before 16.4.1; from 16.5.0-rc-1 before 16.5.0
- xwiki xwiki: from 9.7 before 15.10.11; from 16.0.0 before 16.4.1; 16.5.0

## 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://jira.xwiki.org/browse/XWIKI-22030> (exploit, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2r87-74cx-2p7c> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/40e1afe001d61eafdf13f3621b4b597a0e58a3e3> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-55877> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

- CVE List: [CVE-2024-55877](https://www.cve.org/CVERecord?id=CVE-2024-55877), CVE Terms of Use, modified 2024-12-13
- GitHub Advisory Database: [GHSA-2r87-74cx-2p7c](https://github.com/advisories/GHSA-2r87-74cx-2p7c), CC-BY-4.0, modified 2024-12-12
- NVD: [CVE-2024-55877](https://nvd.nist.gov/vuln/detail/CVE-2024-55877), Public domain, modified 2026-06-17

---

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