Silverstripe XSS Vulnerabilities
Published 17 May 2022 · Updated 12 Jan 2024
Affected packages
- Affected
- >=2.3 <2.3.13
- Fixed in
- 2.3.13
composer require silverstripe/framework:^2.3.13- Affected
- >=2.4 <2.4.7
- Fixed in
- 2.4.7
composer require silverstripe/framework:^2.4.7Details
Multiple cross-site scripting (XSS) vulnerabilities in SilverStripe 2.3.x before 2.3.13 and 2.4.x before 2.4.7 allow remote attackers to inject arbitrary web script or HTML via
1. a crafted string to the AbsoluteLinks
1. BigSummary
1. ContextSummary
1. EscapeXML
1. FirstParagraph
1. FirstSentence
1. Initial
1. LimitCharacters
1. LimitSentences
1. LimitWordCount
1. LimitWordCountXML
1. Lower
1. LowerCase
1. NoHTML
1. Summary
1. Upper
1. UpperCase, or
1. URL method in a template,
different vectors than CVE-2012-0976.
Is GHSA-v358-rvxr-wffx 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-2012-4968
- Linkgithub.com/silverstripe/sapphire/commit/0085876
- Linkgithub.com/silverstripe/silverstripe-framework/commit/0085876495f0f8dda5dc58cb24a8f2220e7baf1e
- Linkgithub.com/silverstripe/silverstripe-framework/commit/15e9e059e5948ccf8f5a36dfcb435ad26ecec334
- Packagegithub.com/silverstripe/silverstripe-framework
- Linkdoc.silverstripe.org/framework/en/trunk/changelogs/2.3.13
- Linkdoc.silverstripe.org/framework/en/trunk/changelogs/2.4.7
- Linkwww.openwall.com/lists/oss-security/2012/04/30/1
- Linkwww.openwall.com/lists/oss-security/2012/04/30/3
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.