# GHSA-265q-222x-52m6: silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector

- Severity: High 8.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-05-28T13:01:48.000Z
- Modified: 2024-12-03T06:23:59.669Z
- Weaknesses: CWE-89

## 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.

(As written by GitHub Advisory Database.)

## Affected

- silverstripe/framework (Packagist): from 4.0.0-rc1 before 4.0.6; from 4.1.0-rc1 before 4.1.4; from 4.2.0-rc1 before 4.2.3

## References

- <https://github.com/silverstripe/silverstripe-framework/commit/48bd335648188df9dae72be1e5f9c808f3fe1e77> (web)
- <https://github.com/silverstripe/silverstripe-framework/commit/fecedc2d98eeaaff6424fb59dc70ef6bdc6dc92d> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-020-1.yaml> (web)
- <https://github.com/silverstripe/silverstripe-framework> (package)
- <https://www.silverstripe.org/download/security-releases/ss-2018-020> (web)

## Sources

- GitHub Advisory Database: [GHSA-265q-222x-52m6](https://github.com/advisories/GHSA-265q-222x-52m6), CC-BY-4.0, modified 2024-12-03

---

Page: https://cve.day/GHSA-265q-222x-52m6 · Whole record: https://cve.day/GHSA-265q-222x-52m6.json · Rebuilt by cve.day 2026-11-25T22:56:30.691Z
