MediumGHSA-qvrv-2x7x-78x2CVE-2019-19325

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
Update to the fixed version for your release line, for example:composer require silverstripe/framework:^4.5.2
Affected
>=4.0.0 <4.4.5
Fixed in
4.4.5
Update to the fixed version for your release line, for example:composer require silverstripe/framework:^4.4.5

Details

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&amp;#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

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.