Security mailing lists by PureSourceCode

CVE-2020-9309

HIGH 8.8CVSS 3.1

Silverstripe 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD silverstripe mimevalidator
cpe:2.3:a:silverstripe:mimevalidator:*:*:*:*:*:*:*:*
< 2.0.0 2.0.0
NVD silverstripe recipe
cpe:2.3:a:silverstripe:recipe:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.6.0 4.6.0
OSV Packagist silverstripe/cms <= 4.5.0

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.