{"id":"CVE-2024-37900","published":"2024-07-31T15:15:31Z","modified":"2024-08-13T13:37:13Z","title":"XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.15804,"percentile":0.96951,"provenance":"source"},"cwes":[{"id":"CWE-96","name":"Improper Neutralization of Directives in Statically Saved Code"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wf3x-jccf-5g5g","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/6cdd69d31d6bf3caa7f40ec55eb317e4e528ad28","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/8b8a2d80529b9a9c038014c1eb6c2adc08069dfd","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/910a5018a50039e8b24556573dfe342f143ef949","tags":["x_refsource_MISC"]},{"url":"https://github.com/xwiki/xwiki-platform/commit/9df46f8e5313af46f93bccd1ebc682e28126573f","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19602","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-19611","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-21769","tags":["x_refsource_MISC"]}],"priority":{"score":23.9,"factors":[{"name":"EPSS percentile","points":19.39},{"name":"CVSS severity","points":4.48}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 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"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-08-01T14:43:57.149734Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-web-war","vulnerableRanges":[">=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"],"patched":["14.10.21","15.5.5","15.10.6","16.0.0"],"from":["GHSA-wf3x-jccf-5g5g"],"provenance":"source"}],"summary":{"text":"The XWiki Platform (xwiki-platform) has a cross-site scripting flaw in its attachment uploader, where a malicious filename is not properly neutralised and its embedded JavaScript can run. An attacker would need to socially engineer a logged-in user into uploading a file with the crafted name over the network, and the attack requires low privileges and user interaction, with the script executing only in the uploader's own session and therefore acting on that user's behalf.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:39:39Z"},"euvd":{"id":"EUVD-2024-2435","exploited":false,"provenance":"source"}}