HighGHSA-265q-222x-52m6
silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector
Published 28 May 2024 · Updated 3 Dec 2024
Is your project on an affected silverstripe/framework?
Affected packages
silverstripe/frameworkComposer
- Affected
- >=4.0.0-rc1 <4.0.6
- Fixed in
- 4.0.6
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^4.0.6silverstripe/frameworkComposer
- Affected
- >=4.1.0-rc1 <4.1.4
- Fixed in
- 4.1.4
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^4.1.4silverstripe/frameworkComposer
- Affected
- >=4.2.0-rc1 <4.2.3
- Fixed in
- 4.2.3
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^4.2.3Details
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.
Is GHSA-265q-222x-52m6 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/framework, and gives you the command that fixes it.
More advisories for silverstripe/framework
- MediumCVE-2026-54720Silverstripe Framework: Possible XSS attack through media embed · 27 Aug 2026
- MediumGHSA-256q-hx8w-xcqxSilverstripe Framework user enumeration via timing attack on login and password reset forms · 10 Apr 2025
- MediumCVE-2025-30148Silverstripe Framework has a XSS vulnerability in HTML editor · 10 Apr 2025
- LowGHSA-74j9-xhqr-6qv3Reflected Cross Site Scripting (XSS) in error message · 23 Jan 2025
- LowGHSA-mqf3-qpc3-g26qSilverstripe Framework has a Reflected Cross Site Scripting (XSS) in error message · 14 Jan 2025
- MediumCVE-2024-53277Silverstripe Framework has a XSS in form messages · 14 Jan 2025
References
- Linkgithub.com/silverstripe/silverstripe-framework/commit/48bd335648188df9dae72be1e5f9c808f3fe1e77
- Linkgithub.com/silverstripe/silverstripe-framework/commit/fecedc2d98eeaaff6424fb59dc70ef6bdc6dc92d
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-020-1.yaml
- Packagegithub.com/silverstripe/silverstripe-framework
- Linkwww.silverstripe.org/download/security-releases/ss-2018-020
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.