MediumGHSA-rppc-655v-7j3cBIT-silverstripe-2022-28803CVE-2022-28803
Stored XSS in link tags added via XHR in SilverStripe Framework
Published 29 Jun 2022 · Updated 6 Dec 2023
Affected package
silverstripe/frameworkComposer
- Affected
- >=4.0.0 <4.10.9
- Fixed in
- 4.10.9
Update to the fixed version for your release line, for example:
composer require silverstripe/framework:^4.10.9Details
SilverStripe Framework 4.x prior to 4.10.9 is vulnerable to cross-site scripting inside the href attribute of an HTML hyperlink, which can be added to website content via XMLHttpRequest (XHR) by an authenticated CMS user.
Is GHSA-rppc-655v-7j3c 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.