GHSA-m2hh-2m46-x6j5
silverstripe/framework may disclose database credentials during connection failure
When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.
We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
What each source reports
GitHub Advisories Score used 6.5
silverstripe/framework may disclose database credentials during connection failure
When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.
We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.
- Record
GHSA-m2hh-2m46-x6j5- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-02
OSV 6.5
silverstripe/framework may disclose database credentials during connection failure
When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.
We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.
- Record
GHSA-m2hh-2m46-x6j5- CVSS 3.1
- 6.5 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-209
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
silverstripe/frameworkPackagist | 3.7.0-rc1 up to 3.7.1 | 3.7.1 |
silverstripe/frameworkPackagist | 4.0.0-rc1 up to 4.0.5 | 4.0.5 |
silverstripe/frameworkPackagist | 4.1.0-rc1 up to 4.1.3 | 4.1.3 |
silverstripe/frameworkPackagist | 4.2.0-rc1 up to 4.2.2 | 4.2.2 |
silverstripe/frameworkPackagist | 3.7.0-rc1 up to 3.7.1, plus listed versions 3.7.03.7.1-rc1 | 3.7.1 |
silverstripe/frameworkPackagist | 4.0.0-rc1 up to 4.0.5, plus listed versions 4.0.04.0.0-rc24.0.0-rc34.0.14.0.1-rc14.0.24.0.34.0.4 | 4.0.5 |
silverstripe/frameworkPackagist | 4.1.0-rc1 up to 4.1.3, plus listed versions 4.1.04.1.0-rc24.1.14.1.2 | 4.1.3 |
silverstripe/frameworkPackagist | 4.2.0-rc1 up to 4.2.2, plus listed versions 4.2.04.2.1 | 4.2.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-m2hh-2m46-x6j5 is a medium vulnerability (CVSS 6.5) in silverstripe/framework, published May 28, 2024. No source lists public exploit code. Fixed in silverstripe/framework 3.7.1.
References
github.com/silverstripe/silverstripe-framework/commit/214e28127f5425b61c15b69f884afdbad31133c2
github.com/silverstripe/silverstripe-framework/commit/54251952387394d72b221e797a80edfbf9a973ee
github.com/silverstripe/silverstripe-framework/commit/9aabe0a0f7a061d87cc92923f8811e14d7a032f5
github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-018-1.yaml
silverstripe.org/download/security-releases/ss-2018-018
github.com/advisories/GHSA-m2hh-2m46-x6j5
github.com/silverstripe/silverstripe-framework