CVE-2020-9309Silverstripe Mimevalidator
High 8.8 No auth needed
Follow: this CVE · Silverstripe · Silverstripe Mimevalidator We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 80
- Auth required
- No
- Published
- Jul 15, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-434
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Mimevalidator.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | silverstripe/cms |
≤ 4.5.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-h77w-655f-6j3m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| silverstripe | mimevalidator | < 2.0.0 |
| silverstripe | recipe | ≥ 4.0.0 < 4.6.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.silverstripe.org Vendor Advisory