MEDIUM6.1
GHSA-m8v7-x398-pxrf
Silverstripe XSS in CMS Edit Page
Quick fix
GHSA-m8v7-x398-pxrf — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^3.1.19Details
Due to a lack of parameter sanitisation a carefully crafted URL could be used to inject arbitrary HTML into the CMS Edit page.
An attacker could create a URL and share it with a site administrator to perform an attack.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
3.1.18Fixed in: 3.1.19Fix
composer require silverstripe/framework:^3.1.19Packagist/silverstripe/framework
Introduced in:
3.2.3Fixed in: 3.2.4Fix
composer require silverstripe/framework:^3.2.4Packagist/silverstripe/framework
Introduced in:
3.3.1Fixed in: 3.3.2Fix
composer require silverstripe/framework:^3.3.2References
- https://github.com/silverstripe/silverstripe-framework/commit/a24c8260b1d048dc6a0836eb1be9a1ca2056e770[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2016-004-1.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://github.com/silverstripe/silverstripe-framework/commits/3.3.2[WEB]
- https://www.silverstripe.org/download/security-releases/ss-2016-004[WEB]
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"]}'