HighGHSA-mqjc-x563-c9q8
silverstripe/framework CSV Excel Macro Injection
Published 27 May 2024 · Updated 2 Dec 2024
Affected packages
silverstripe/frameworkComposer
- Affected
- >=3.5.0-rc1 <3.5.6
- Fixed in
- 3.5.6
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^3.5.6silverstripe/frameworkComposer
- Affected
- >=3.6.0-rc1 <3.6.3
- Fixed in
- 3.6.3
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^3.6.3silverstripe/frameworkComposer
- Affected
- >=4.0.0-rc1 <4.0.1
- Fixed in
- 4.0.1
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^4.0.1Details
In the CSV export feature of the CMS it's possible for the output to contain macros and scripts, which if imported without sanitisation into software (including Microsoft Excel) may be executed.
In order to safeguard against this threat all potentially executable cell values exported from CSV will be prepended with a literal tab character.
Is GHSA-mqjc-x563-c9q8 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.
References
- Linkgithub.com/silverstripe/silverstripe-framework/commit/55739fa5af6171594b2cb4f3621d5fcce5e887d4
- Linkgithub.com/silverstripe/silverstripe-framework/commit/cfe1d4f481bf53ea8da2b8608a563e207d923df9
- Linkgithub.com/silverstripe/silverstripe-framework/commit/dd4c5417e7592e29e698af428b72bdb9b6729797
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-007-1.yaml
- Packagegithub.com/silverstripe/silverstripe-framework
- Linkwww.silverstripe.org/download/security-releases/ss-2017-007
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.