Skip to content
OpenAdvisories
High · 8.8 GHSA-265q-222x-52m6

silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector

Published May 28, 2024 · Updated Dec 3, 2024 · Assigned by GHSA

Description

A potential SQL injection vulnerability was identified by using the silverstripe/postgresql database adapter. While unlikely to be exploitable, we have patched silverstripe/framework to ensure that table names are safely escaped before being passed to database adapters or user code.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework >= 4.0.0-rc1, < 4.0.6 4.0.6 GHSA-265q-222x-52m6
Packagist silverstripe/framework >= 4.1.0-rc1, < 4.1.4 4.1.4 GHSA-265q-222x-52m6
Packagist silverstripe/framework >= 4.2.0-rc1, < 4.2.3 4.2.3 GHSA-265q-222x-52m6

References