MEDIUM5.4
GHSA-qw4w-vq8v-2wcv
Stored XSS using uppercase characters in HTMLEditor
Quick fix
GHSA-qw4w-vq8v-2wcv — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^4.11.13Details
A malicious content author could add a Javascript payload to the href attribute of a link. A similar issue was identified and fixed via CVE-2022-28803. However, the fix didn't account for the casing of the href attribute. An attacker must have access to the CMS to exploit this issue.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
4.0.0Fixed in: 4.11.13Fix
composer require silverstripe/framework:^4.11.13References
- https://nvd.nist.gov/vuln/detail/CVE-2022-37430[ADVISORY]
- https://forum.silverstripe.org/c/releases[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-37430.yaml[WEB]
- https://www.silverstripe.org/blog/tag/release[WEB]
- https://www.silverstripe.org/download/security-releases[WEB]
- https://www.silverstripe.org/download/security-releases/cve-2022-37430[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"]}'