GHSA-v358-rvxr-wffx
Silverstripe XSS Vulnerabilities
Quick fix
GHSA-v358-rvxr-wffx — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^2.3.13Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
2.3Fixed in: 2.3.13composer require silverstripe/framework:^2.3.132.4Fixed in: 2.4.7composer require silverstripe/framework:^2.4.7References
- https://nvd.nist.gov/vuln/detail/CVE-2012-4968[ADVISORY]
- https://github.com/silverstripe/sapphire/commit/0085876[WEB]
- https://github.com/silverstripe/silverstripe-framework/commit/0085876495f0f8dda5dc58cb24a8f2220e7baf1e[WEB]
- https://github.com/silverstripe/silverstripe-framework/commit/15e9e059e5948ccf8f5a36dfcb435ad26ecec334[WEB]
- https://github.com/silverstripe/silverstripe-framework[PACKAGE]
- http://doc.silverstripe.org/framework/en/trunk/changelogs/2.3.13[WEB]
- http://doc.silverstripe.org/framework/en/trunk/changelogs/2.4.7[WEB]
- http://www.openwall.com/lists/oss-security/2012/04/30/1[WEB]
- http://www.openwall.com/lists/oss-security/2012/04/30/3[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/silverstripe/framework"]}'