# CVE-2024-31465: XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet

- 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): 2.72%, higher than 87% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-04-10T17:11:32.000Z
- Modified: 2026-09-10T03:50:11.004Z
- Also known as: GHSA-34fj-r5gq-7395
- Weaknesses: CWE-94, CWE-95
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.20, 15.5.4, and 15.9-rc-1, any user with edit right on any page can execute any code on the server by adding an object of type `XWiki.SearchSuggestSourceClass` to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. As a workaround, manually apply the patch to the document `XWiki.SearchSuggestSourceSheet`.

(As written by CVE List.)

## Affected

- xwiki xwiki-platform: >= 5.2-milestone-2, < 14.10.20; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.10-rc-1
- xwiki xwiki: from 5.2-milestone-2 before 14.10.20; from 15.0-rc-1 before 15.5.4; from 15.6-rc-1 before 15.10-rc-1; from 5.3 before 14.10.20; from 15.0 before 15.5.4; from 15.6 before 15.10; 5.2
- org.xwiki.platform:xwiki-platform-search-ui (Maven): from 5.2-milestone-2 before 14.10.20; from 15.0-rc-1 before 15.5.4; from 15.6-rc-1 before 15.10-rc-1

## 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-21474> (exploit, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-34fj-r5gq-7395> (vendor-advisory, web)
- <https://github.com/xwiki/xwiki-platform/commit/0317a3aa78065e66c86fc725976b06bf7f9b446e> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/2740974c32dbb7cc565546d0f04e2374b32b36f7> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809> (patch, web)
- <https://github.com/xwiki/xwiki-platform/commit/6a7f19f6424036fce3d703413137adde950ae809#diff-67b473d2b6397d65b7726c6a13555850b11b10128321adf9e627e656e1d130a5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-31465> (advisory)
- <https://github.com/xwiki/xwiki-platform> (package)

## Sources

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

---

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