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.

Severity (CVSS 3.1)6.4Medium
Exploit odds (30 days)15.8%top 3.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-web-war14.10.21GHSA-wf3x-jccf-5g5g
Mavenorg.xwiki.platform:xwiki-platform-web-war15.5.5GHSA-wf3x-jccf-5g5g
Mavenorg.xwiki.platform:xwiki-platform-web-war15.10.6GHSA-wf3x-jccf-5g5g
Mavenorg.xwiki.platform:xwiki-platform-web-war16.0.0GHSA-wf3x-jccf-5g5g

Affected products (as reported)

VendorProductVersions
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