Live threats

All CVEs / Silverstripe

CVE-2020-9309Silverstripe Mimevalidator

High 8.8 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mimevalidator.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
silverstripemimevalidator< 2.0.0
silverstriperecipe≥ 4.0.0 < 4.6.0

Official sources

References

Links published by the sources. Open them with care.