MEDIUM5.4
GHSA-rppc-655v-7j3c
Stored XSS in link tags added via XHR in SilverStripe Framework
Quick fix
GHSA-rppc-655v-7j3c — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^4.10.9Details
SilverStripe Framework 4.x prior to 4.10.9 is vulnerable to cross-site scripting inside the href attribute of an HTML hyperlink, which can be added to website content via XMLHttpRequest (XHR) by an authenticated CMS user.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
4.0.0Fixed in: 4.10.9Fix
composer require silverstripe/framework:^4.10.9References
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"]}'