GHSA-ff6q-3c9c-6cf5
Silverstripe Framework has a XSS in form messages
Quick fix
GHSA-ff6q-3c9c-6cf5 — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^5.3.8Details
In some cases, form messages can contain HTML markup. This is an intentional feature, allowing links and other relevant HTML markup for the given message.
Some form messages include content that the user can provide. There are scenarios in the CMS where that content doesn't get correctly sanitised prior to being included in the form message, resulting in an XSS vulnerability.
### References
- https://www.silverstripe.org/download/security-releases/cve-2024-53277
## Reported by
Leo Diamat from [Bastion Security Group](http://www.bastionsecurity.co.nz/)
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 5.3.8composer require silverstripe/framework:^5.3.8References
- https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-ff6q-3c9c-6cf5[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-53277[ADVISORY]
- https://github.com/silverstripe/silverstripe-framework/commit/74904f539347b7d1f8c5b5fb9e28d62ff251ee00[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2024-53277.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- https://www.silverstripe.org/download/security-releases/cve-2024-53277[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"]}'