CVE-2024-37900
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When uploading an attachment with a malicious filename, malicious JavaScript code could be executed. This requires a social engineering attack to get the victim into uploading a file with a malicious name. The malicious code is solely executed during the upload and affects only the user uploading the attachment. While this allows performing actions in the name of that user, it seems unlikely that a user wouldn't notice the malicious filename while uploading the attachment. This has been patched in XWiki 14.10.21, 15.5.5, 15.10.6 and 16.0.0.
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:R/S:U/C:L/I:L/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
15.8 %
higher than 97 %
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-web-war (Maven) | ≥ 15.0-rc-1, < 15.5.5 | Affected |
| org.xwiki.platform | xwiki-platform-web-war (Maven) | ≥ 15.6-rc-1, < 15.10.6 | Affected |
| org.xwiki.platform | xwiki-platform-web-war (Maven) | ≥ 16.0.0-rc-1, < 16.0.0 | Affected |
| org.xwiki.platform | xwiki-platform-web-war (Maven) | ≥ 4.2-milestone-3, < 14.10.21 | Affected |
| Xwiki | Xwiki | 16.0.0 | Affected |
| Xwiki | Xwiki | 4.2 | Affected |
| Xwiki | Xwiki | ≥ 15.0, < 15.5.5 | Affected |
| Xwiki | Xwiki | ≥ 15.6, < 15.10.6 | Affected |
| Xwiki | Xwiki | > 4.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-96: Improper Neutralization of Directives in Statically Saved Code
The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before inserting the input into an executable resource, such as a library, configuration file, or …
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
- T1564.009: Resource Forking
References
- https://github.com/xwiki/xwiki-platform/commit/6cdd69d31d6bf3caa7f40ec55eb317e4e528ad28
- https://github.com/xwiki/xwiki-platform/commit/8b8a2d80529b9a9c038014c1eb6c2adc08069dfd
- https://github.com/xwiki/xwiki-platform/commit/910a5018a50039e8b24556573dfe342f143ef949
- https://github.com/xwiki/xwiki-platform/commit/9df46f8e5313af46f93bccd1ebc682e28126573f
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wf3x-jccf-5g5g
- https://jira.xwiki.org/browse/XWIKI-19602
- https://jira.xwiki.org/browse/XWIKI-19611
- https://jira.xwiki.org/browse/XWIKI-21769
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.