CVE-2020-9309
HIGH 8.8CVSS 3.1Silverstripe CMS malicious file upload enables script execution
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.
- Published
- 15 Jul 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-434
- Also known as
- GHSA-h77w-655f-6j3m
- Sources
- NVDJSONOSV GHSA-h77w-655f-6j3mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | silverstripe | mimevalidatorcpe:2.3:a:silverstripe:mimevalidator:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| NVD | silverstripe | recipecpe:2.3:a:silverstripe:recipe:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.6.0 | 4.6.0 |
| OSV | Packagist | silverstripe/cms | <= 4.5.0 |
References
- https://www.silverstripe.org/download/security-releases/CVE-2020-9309 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-9309 · ADVISORY
- https://github.com/silverstripe/silverstripe-cms · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 15 Jul 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)