CVE-2024-37901
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with edit right on any page can perform arbitrary remote code execution by adding instances of `XWiki.SearchSuggestConfig` and `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.21, 15.5.5 and 15.10.2.
Description as published by the source, in English.
Key facts
- Published
- 2024-07-31
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.1 %
higher than 61 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| org.xwiki.platform | xwiki-platform-search-ui (Maven) | ≥ 15.0-rc-1, < 15.5.5 | Affected |
| org.xwiki.platform | xwiki-platform-search-ui (Maven) | ≥ 15.6-rc-1, < 15.10.2 | Affected |
| org.xwiki.platform | xwiki-platform-search-ui (Maven) | ≥ 9.2-rc-1, < 14.10.21 | Affected |
| Xwiki | Xwiki | ≥ 15.0, < 15.5.5 | Affected |
| Xwiki | Xwiki | ≥ 15.6, < 15.10.2 | Affected |
| Xwiki | Xwiki | ≥ 9.2, < 14.10.21 | Affected |
Weakness type
-
CWE-94: Improper Control of Generation of Code
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or b…
-
CWE-862: Missing Authorization
The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
-
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1027.006: HTML Smuggling
- T1027.009: Embedded Payloads
- T1211: Exploitation for Stealth
- T1542.002: Component Firmware
- T1556: Modify Authentication Process
- T1564.009: Resource Forking
References
- https://github.com/xwiki/xwiki-platform/commit/0b135760514fef73db748986a3311f3edd4a553b
- https://github.com/xwiki/xwiki-platform/commit/742cd4591642be4cdcaf68325f17540e0934e64e
- https://github.com/xwiki/xwiki-platform/commit/9ce3e0319869b6d8131fc4e0909736f7041566a4
- https://github.com/xwiki/xwiki-platform/commit/bbde8a4f564e3c28839440076334a9093e2b4834
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-h63h-5c77-77p5
- https://jira.xwiki.org/browse/XWIKI-21473
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.