Vulnerability · Published Jul 31, 2024 · Assigned by GitHub_M
CVE-2024-37900XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader
Medium 6.4
In plain English
A medium-severity security flaw in xwiki-platform from xwiki. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 15.8% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-web-war | 14.10.21 | GHSA-wf3x-jccf-5g5g |
| Maven | org.xwiki.platform:xwiki-platform-web-war | 15.5.5 | GHSA-wf3x-jccf-5g5g |
| Maven | org.xwiki.platform:xwiki-platform-web-war | 15.10.6 | GHSA-wf3x-jccf-5g5g |
| Maven | org.xwiki.platform:xwiki-platform-web-war | 16.0.0 | GHSA-wf3x-jccf-5g5g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 4.2-milestone-3, < 14.10.21>= 15.0-rc-1, < 15.5.5>= 15.6-rc-1, < 15.10.6>= 16.0.0-rc-1, < 16.0.0 |
Weakness: CWE-96 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wf3x-jccf-5g5g x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/6cdd69d31d6bf3caa7f40ec55eb317e4e528ad28 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/8b8a2d80529b9a9c038014c1eb6c2adc08069dfd x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/910a5018a50039e8b24556573dfe342f143ef949 x_refsource_MISC
- https://github.com/xwiki/xwiki-platform/commit/9df46f8e5313af46f93bccd1ebc682e28126573f x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-19602 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-19611 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-21769 x_refsource_MISC