VDB
Sign up
HIGH8.0

GHSA-mqjc-x563-c9q8

silverstripe/framework CSV Excel Macro Injection

Quick fix

GHSA-mqjc-x563-c9q8 — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^3.5.6

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 3.5.0-rc1Fixed in: 3.5.6
Fixcomposer require silverstripe/framework:^3.5.6
Packagist/silverstripe/framework
Introduced in: 3.6.0-rc1Fixed in: 3.6.3
Fixcomposer require silverstripe/framework:^3.6.3
Packagist/silverstripe/framework
Introduced in: 4.0.0-rc1Fixed in: 4.0.1
Fixcomposer require silverstripe/framework:^4.0.1

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/silverstripe/framework"]}'