High

Silverstripe CMS malicious file upload enables script execution

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 10:22

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package silverstripe/cms <= 4.5.0 no fix

References

CVSS score 8.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-434
Platform
Composer
Package
silverstripe/cms
Disclosed
24.05.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-h77w-655f-6j3m - CC BY 4.0

Vulnerability history: silverstripe/cms

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (16) in the archive
Total entries
16
First → latest
11.2019 08.2026
Without a fix
4
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 3
  • Medium 11
  • Low 1

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 11
  5. 2023: 0
  6. 2024: 3
  7. 2025: 0
  8. 2026: 1
Severity:
  1. High · 7.5 ghsa-3mm9-2p44-rw39 >= 3.0.0, < 3.0.12, >= 3.1.0, < 3.1.11 3.0.12, 3.1.11
  2. Silverstripe CMS malicious file upload enables script execution this entry
    High · 8.8 CVE-2020-9309 <= 4.5.0 no fix
  3. High · 7.5 CVE-2020-6164 <= 4.5.0 no fix
  4. Critical · 9.8 CVE-2019-12204 >= 4.4.0, < 4.4.4 4.4.4

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.