🛡️ CVE-2020-26138 — silverstripe

🟡 CVSS 5.0 — Medium ✅ No Known Exploit OSV
5.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

FormField with square brackets in field name skips validation

FileField with array notation skips validation

The FileField class is commonly used for file upload in custom code on a Silverstripe website. This field is designed to be used with a single file upload.

PHP allows for submitting multiple values by adding square brackets to the field name. When this is done to a FileField, it will be coerced into allowing multiple files by using this notation. This is not a supported feature, though nothing is done to prevent this.

In this scenario, validation such as limiting allowed extensions is not applied, and the FileField->saveInto() behaviour is not triggered. If custom controller logic is used to process the file uploads, it might implicitly rely on validation to be provided by the Form system, which is not the case.

Affected software

CVE-2020-26138 is recorded against 2 packages.

  • silverstripe
  • silverstripe/framework (from 3.0.0 up to 4.7.4)

Timeline and source

Published on 6 March 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

forum.silverstripe.org (Web)
www.silverstripe.org (Web)
www.silverstripe.org (Web)
www.silverstripe.org (Web)

Details

Severity MEDIUM
CVSS Score 5.0
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2024-03-06
Updated 2026-08-12
Modified 2024-03-06
Fix URL N/A

Affected Packages

Software From version Fixed in
silverstripe
silverstripe/framework 3.0.0 4.7.4

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in silverstripe

CVE-2020-26138 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.