Reflected XSS in SilverStripe
Published 24 Feb 2020 · Updated 16 Feb 2024
Affected packages
- Affected
- >=4.5.0 <4.5.2
- Fixed in
- 4.5.2
composer require silverstripe/framework:^4.5.2- Affected
- >=4.0.0 <4.4.5
- Fixed in
- 4.4.5
composer require silverstripe/framework:^4.4.5Details
SilverStripe through 4.4.x before 4.4.5 and 4.5.x before 4.5.2 allows Reflected XSS on the login form and custom forms. Silverstripe Forms allow malicious HTML or JavaScript to be inserted through non-scalar FormField attributes, which allows performing XSS (Cross-Site Scripting) on some forms built with user input (Request data). This can lead to phishing attempts to obtain a user&#39;s credentials or other sensitive user input.
Is GHSA-qvrv-2x7x-78x2 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
- Advisorynvd.nist.gov/vuln/detail/CVE-2019-19325
- Linkgithub.com/silverstripe/silverstripe-framework/commit/49fda52b12ba59f0a04bcabf78425586a8779e89
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2019-19325.yaml
- Linkwww.silverstripe.org/download/security-releases/cve-2019-19325
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.