CVE-2024-37900

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

State
Published
Severity
6.4 Medium
Published
Jul 31, 2024
Updated
Aug 13, 2024
Reserved
Jun 10, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.4 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-96 Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')

Affected Products

ProductVersions
xwiki-platformxwiki
  • >= 4.2-milestone-3, < 14.10.21Affected
  • >= 15.0-rc-1, < 15.5.5Affected
  • >= 15.6-rc-1, < 15.10.6Affected
  • >= 16.0.0-rc-1, < 16.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.