Skip to content
OpenAdvisories
Medium · 6.4 CVE-2024-37900 EUVD-2024-2435GHSA-wf3x-jccf-5g5g

XWiki Platform vulnerable to Cross-site Scripting through attachment filename in uploader

Published Jul 31, 2024 · Updated Aug 13, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
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 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-web-war >= 4.2-milestone-3, < 14.10.21 14.10.21 GHSA-wf3x-jccf-5g5g
Maven org.xwiki.platform:xwiki-platform-web-war >= 15.0-rc-1, < 15.5.5 15.5.5 GHSA-wf3x-jccf-5g5g
Maven org.xwiki.platform:xwiki-platform-web-war >= 15.6-rc-1, < 15.10.6 15.10.6 GHSA-wf3x-jccf-5g5g
Maven org.xwiki.platform:xwiki-platform-web-war >= 16.0.0-rc-1, < 16.0.0 16.0.0 GHSA-wf3x-jccf-5g5g

Advisories 1

References