XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| XWiki | xwiki-platform | 4.2-milestone-3 to before 14.10.21; 15.0-rc-1 to before 15.5.5; 15.6-rc-1 to before 15.10.6; 16.0.0-rc-1 to before 16.0.0 | 14.10.21, 15.5.5, 15.10.6, 16.0.0 | Patch available | CNA |
| — | org.xwiki.platform:xwiki-platform-web-war (Maven) | 4.2-milestone-3 to before 14.10.21 | 14.10.21 | Patch available | GHSA-wf3x-jccf-5g5g |
| — | org.xwiki.platform:xwiki-platform-web-war (Maven) | 15.0-rc-1 to before 15.5.5 | 15.5.5 | Patch available | GHSA-wf3x-jccf-5g5g |
| — | org.xwiki.platform:xwiki-platform-web-war (Maven) | 15.6-rc-1 to before 15.10.6 | 15.10.6 | Patch available | GHSA-wf3x-jccf-5g5g |
| — | org.xwiki.platform:xwiki-platform-web-war (Maven) | 16.0.0-rc-1 to before 16.0.0 | 16.0.0 | Patch available | GHSA-wf3x-jccf-5g5g |
- xwiki-platform VendorXWiki Affected 4.2-milestone-3 to before 14.10.21; 15.0-rc-1 to before 15.5.5; 15.6-rc-1 to before 15.10.6; 16.0.0-rc-1 to before 16.0.0 Fixed in 14.10.21, 15.5.5, 15.10.6, 16.0.0 Patch available CNA
- org.xwiki.platform:xwiki-platform-web-war (Maven) Vendor— Affected 4.2-milestone-3 to before 14.10.21 Fixed in 14.10.21 Patch available GHSA-wf3x-jccf-5g5g
- org.xwiki.platform:xwiki-platform-web-war (Maven) Vendor— Affected 15.0-rc-1 to before 15.5.5 Fixed in 15.5.5 Patch available GHSA-wf3x-jccf-5g5g
- org.xwiki.platform:xwiki-platform-web-war (Maven) Vendor— Affected 15.6-rc-1 to before 15.10.6 Fixed in 15.10.6 Patch available GHSA-wf3x-jccf-5g5g
- org.xwiki.platform:xwiki-platform-web-war (Maven) Vendor— Affected 16.0.0-rc-1 to before 16.0.0 Fixed in 16.0.0 Patch available GHSA-wf3x-jccf-5g5g
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* | after 4.2, before 14.10.21; 15.0 to before 15.5.5; 15.6 to before 15.10.6 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:4.2:-:*:*:*:*:*:* | 4.2 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:4.2:milestone3:*:*:*:*:*:* | 4.2 milestone3 | Vulnerable | XWiki |
| cpe:2.3:a:xwiki:xwiki:16.0.0:rc1:*:*:*:*:*:* | 16.0.0 rc1 | Vulnerable | XWiki |
- cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* Versions after 4.2, before 14.10.21; 15.0 to before 15.5.5; 15.6 to before 15.10.6 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:4.2:-:*:*:*:*:*:* Versions 4.2 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:4.2:milestone3:*:*:*:*:*:* Versions 4.2 milestone3 Vulnerable ·XWiki
- cpe:2.3:a:xwiki:xwiki:16.0.0:rc1:*:*:*:*:*:* Versions 16.0.0 rc1 Vulnerable ·XWiki
Remediation
- Fix · CNA xwiki-platform (xwiki) Fixed in 14.10.21, 15.5.5, 15.10.6, 16.0.0
- Fix · GHSA-wf3x-jccf-5g5g org.xwiki.platform:xwiki-platform-web-war (Maven) Fixed in 14.10.21 Advisory →
- Fix · GHSA-wf3x-jccf-5g5g org.xwiki.platform:xwiki-platform-web-war (Maven) Fixed in 15.5.5 Advisory →
- Fix · GHSA-wf3x-jccf-5g5g org.xwiki.platform:xwiki-platform-web-war (Maven) Fixed in 15.10.6 Advisory →
- Fix · GHSA-wf3x-jccf-5g5g org.xwiki.platform:xwiki-platform-web-war (Maven) Fixed in 16.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-37900
- 2026-10-03 Alias added: GHSA-wf3x-jccf-5g5g
References
Exploit 3
Patch 4
- 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
Advisory 2
More Xwiki vulnerabilities
- TI-2025-18595 Remote code execution as guest via SolrSearchMacros request in xwiki KEVCVSS 3.1CRITICAL 9.8
- TI-2023-25214 Remote code execution through the section parameter in Administration as guest in XWiki Platform CVSS 3.1CRITICAL 10.0
- TI-2025-23500 XWiki Platform vulnerable to SQL injection through getdeleteddocuments.vm template sort parameter CVSS 4.0CRITICAL 9.3
- TI-2025-23979 org.xwiki.platform:xwiki-platform-rest-server allows SQL injection in query endpoint of REST API CVSS 4.0CRITICAL 9.3
- TI-2024-20829 XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet CVSS 3.1CRITICAL 10.0
- TI-2024-14375 XWiki Remote Code Execution vulnerability via user registration CVSS 3.1CRITICAL 10.0
Sources
- CVE-2024-37900 · CVE Program
- CVE-2024-37900 · NVD
- FIRST EPSS
- GHSA-wf3x-jccf-5g5g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences