Skip to content
OpenAdvisories
Medium · 4.3 GHSA-2hpc-mf4q-j885

Silverstripe CSRF vulnerability in GridFieldAddExistingAutocompleter

Published May 23, 2024 · Updated Nov 28, 2024 · Assigned by GHSA

Description

GridField does not have sufficient CSRF protection, meaning that in some cases users with CMS access can be tricked into posting unspecified data into the CMS from external websites. Amongst other default CMS interfaces, GridField is used for management of groups, users and permissions in the CMS.

The resolution for this issue is to ensure that all gridFieldAlterAction submissions are checked for the SecurityID token during submission.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework < 3.1.17 3.1.17 GHSA-2hpc-mf4q-j885
Packagist silverstripe/framework >= 3.2.0, < 3.2.2 3.2.2 GHSA-2hpc-mf4q-j885
Packagist silverstripe/framework >= 3.3.0-beta1, < 3.3.0 3.3.0 GHSA-2hpc-mf4q-j885

References