MediumGHSA-2pw2-qpcp-m47xBIT-silverstripe-2020-9311CVE-2020-9311
Silverstripe CMS XSS Vulnerability
Published 24 May 2022 · Updated 17 Feb 2024
Affected packages
silverstripe/cmsComposer
- Affected
- <=4.5.0
- Fixed in
- No fix released
silverstripe/frameworkComposer
- Affected
- >=3.0.0 <3.7.5
- Fixed in
- 3.7.5
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^3.7.5Details
In SilverStripe through 4.5, malicious users with a valid Silverstripe CMS login (usually CMS access) can craft profile information which can lead to XSS for other users through specially crafted login form URLs.
Is GHSA-2pw2-qpcp-m47x 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/cms, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-9311
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2020-9311.yaml
- Packagegithub.com/silverstripe/silverstripe-cms
- Linkwww.silverstripe.org/download/security-releases/CVE-2020-9311
- Linkwww.silverstripe.org/download/security-releases/cve-2020-9311
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.