CVE-2020-9309
HIGHSilverstripe Mimevalidator < 2.0.0 - Unrestricted File Upload
Title source: ruleDescription
Silverstripe CMS through 4.5 can be susceptible to script execution from malicious upload contents under allowed file extensions (for example HTML code in a TXT file). When these files are stored as protected or draft files, the MIME detection can cause browsers to execute the file contents. Uploads stored as protected or draft files are allowed by default for authorised users only, but can also be enabled through custom logic as well as modules such as silverstripe/userforms. Sites using the previously optional silverstripe/mimevalidator module can configure MIME whitelists rather than extension whitelists, and hence prevent this issue. Sites on the Common Web Platform (CWP) use this module by default, and are not affected.
References (1)
Core 1
Core References
Vendor Advisory x_refsource_confirm
https://www.silverstripe.org/download/security-releases/CVE-2020-9309
Scores
CVSS v3
8.8
EPSS
0.0073
EPSS Percentile
72.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Details
CWE
CWE-434
Status
published
Products (3)
silverstripe/cms
0Packagist
silverstripe/mimevalidator
< 2.0.0
silverstripe/recipe
4.0.0 - 4.6.0
Published
Jul 15, 2020
Tracked Since
Feb 18, 2026