MediumGHSA-hhvj-mcrx-3vcf
silverstripe/framework has Cross-site Scripting vulnerability in page name
Published 27 May 2024 · Updated 2 Dec 2024
Affected packages
silverstripe/frameworkComposer
- Affected
- >=3.4.0-rc1 <3.4.4
- Fixed in
- 3.4.4
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^3.4.4silverstripe/frameworkComposer
- Affected
- >=3.5.0-rc1 <3.5.2
- Fixed in
- 3.5.2
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^3.5.2Details
silverstripe/framework is vulnerable to XSS in Page name where the payload "><svg/onload=alert(/xss/)> will trigger an XSS alert.
Is GHSA-hhvj-mcrx-3vcf in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected silverstripe/framework, and gives you the command that fixes it.
References
- Linkgithub.com/silverstripe/silverstripe-framework/commit/9574d627f95aca7ae0fcefcae2bf56215777e190
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-001-1.yaml
- Packagegithub.com/silverstripe/silverstripe-framework
- Linkwww.silverstripe.org/download/security-releases/ss-2017-001
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.