GitHub Advisoryadvisory · Packagist

GHSA-2hpc-mf4q-j885 Silverstripe CSRF vulnerability in GridFieldAddExistingAutocompleter

MEDIUM Published 2024-05-23 Modified 2024-05-23 Official page ↗
Ecosystem
Packagist
Packages
silverstripe/framework
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Weaknesses
CWE-352
Reviewed
2024-05-23

Affected packages

• Packagist silverstripe/framework: < 3.1.17 → fixed in 3.1.17 • Packagist silverstripe/framework: >= 3.2.0, < 3.2.2 → fixed in 3.2.2 • Packagist silverstripe/framework: >= 3.3.0-beta1, < 3.3.0 → fixed in 3.3.0

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.

Related

Weakness · CWE (1)

  • CWE-352 Cross-Site Request Forgery weakness

References