Skip to content

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

MediumCVSS 4.6 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-web-war(Maven) >= 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 14.10.21, 15.5.5, 15.10.6, 16.0.0 Fixed
xwiki = 4.2; = 4.2-milestone3; = 16.0.0-rc1; >= 4.2, < 14.10.21 +6 more 14.10.21, 15.5.5, 15.10.6, 16.0.0 Fixed
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 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-web-war(Maven) >= 4.2-milestone-3, < 14.10.21 14.10.21
org.xwiki.platform/xwiki-platform-web-war(Maven) >= 15.0-rc-1, < 15.5.5 15.5.5
org.xwiki.platform/xwiki-platform-web-war(Maven) >= 15.6-rc-1, < 15.10.6 15.10.6
org.xwiki.platform/xwiki-platform-web-war(Maven) >= 16.0.0-rc-1, < 16.0.0 16.0.0
xwiki-platform = >= 4.2-milestone-3, < 14.10.21 No fix listed
xwiki-platform = >= 15.0-rc-1, < 15.5.5 No fix listed
xwiki-platform = >= 15.6-rc-1, < 15.10.6 No fix listed
xwiki-platform = >= 16.0.0-rc-1, < 16.0.0 No fix listed
xwiki >= 4.2-milestone-3, < 14.10.21 14.10.21
xwiki >= 15.0-rc-1, < 15.5.5 15.5.5
xwiki >= 15.6-rc, < 15.10.6 15.10.6
xwiki >= 16.0.0-rc-1, < 16.0.0 16.0.0
xwiki >= 4.2, < 14.10.21 14.10.21
xwiki >= 15.0, < 15.5.5 15.5.5
xwiki >= 15.6, < 15.10.6 15.10.6
xwiki = 4.2 No fix listed
xwiki = 4.2-milestone3 No fix listed
xwiki = 16.0.0-rc1 No fix listed

References