MediumGHSA-xmjh-wjc5-wg4hCVE-2017-5197
Silverstripe CMS XSS Vulnerability
Published 14 May 2022 · Updated 16 Feb 2024
Affected packages
silverstripe/cmsComposer
- Affected
- <3.4.4
- Fixed in
- 3.4.4
Update to the fixed version for your release line, for example:
composer require silverstripe/cms:^3.4.4silverstripe/cmsComposer
- Affected
- >=3.5.0 <3.5.2
- Fixed in
- 3.5.2
Update to the fixed version for your release line, for example:
composer require silverstripe/cms:^3.5.2Details
There is XSS in SilverStripe CMS before 3.4.4 and 3.5.x before 3.5.2. The attack vector is a page name. An example payload is a crafted JavaScript event handler within a malformed SVG element.
Is GHSA-xmjh-wjc5-wg4h 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
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.