Every CVE Search/ Get API key

CVE-2020-26138

FormField with square brackets in field name skips validation

5.3 MediumFix available

In SilverStripe through 4.6.0-rc1, a FormField with square brackets in the field name skips validation.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
Low
Availability
None

Exploit likelihood

1.34%Up 0.3 points since Jun 9, 2021
90%50%10%1%

What each source reports

NVD Score used 5.3

In SilverStripe through 4.6.0-rc1, a FormField with square brackets in the field name skips validation.

Record
CVE-2020-26138
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:P/A:N
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

In SilverStripe through 4.6.0-rc1, a FormField with square brackets in the field name skips validation.

Record
CVE-2020-26138
Updated
2026-11-02
EUVDEUVD-2022-1362 No score

In SilverStripe through 4.6.0-rc1, a FormField with square brackets in the field name skips validation.

Record
EUVD-2022-1362
Updated
2026-11-03
GitHub AdvisoriesGHSA-7mv4-4xpg-xq44 5.3

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.

Record
GHSA-7mv4-4xpg-xq44
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-20
Updated
2026-11-02
OSV 5.3

In SilverStripe through 4.6.0-rc1, a FormField with square brackets in the field name skips validation.

Record
CVE-2020-26138
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Updated
2026-11-02
OSVGHSA-7mv4-4xpg-xq44 5.3

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.

Record
GHSA-7mv4-4xpg-xq44
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-20
Updated
2026-11-02
OSVBIT-silverstripe-2020-26138 No score

In SilverStripe through 4.6.0-rc1, a FormField with square brackets in the field name skips validation.

Record
BIT-silverstripe-2020-26138
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
silverstripe/framework
Packagist
3.0.0 up to 4.7.4
4.7.4
silverstripe
Bitnami
before 4.6.0, 4.6.0-rc1 to 4.6.0-rc1
4.6.0
silverstripe/framework
Packagist
3.0.0 up to 4.7.4, plus listed versions
3.0.103.0.10-rc13.0.113.0.11-rc13.0.12
Show 45 moreShow less
3.0.133.0.143.0.2.13.0.33.0.3-rc13.0.3-rc23.0.43.0.53.0.63.0.6-rc13.0.6-rc23.0.73.0.7-rc13.0.83.0.93.0.9-rc13.1.03.1.0-beta13.1.0-beta23.1.0-beta33.1.0-rc13.1.0-rc23.1.0-rc33.1.13.1.103.1.10-rc13.1.10-rc23.1.113.1.11-rc13.1.123.1.133.1.13-rc13.1.143.1.14-rc13.1.153.1.163.1.16-rc13.1.173.1.17-rc13.1.17-rc23.1.183.1.18-rc13.1.18-rc23.1.193.1.19-rc1
4.7.4

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-26138 is a medium vulnerability (CVSS 5.3) in Silverstripe, published June 8, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.34%, the 71st percentile. Fixed in silverstripe/framework 4.7.4.

References

This page doesn't list everything

Left out here: 191 versions. The JSON record has them.

MoveEnter Open