VDB
Sign up
MEDIUM

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.13

Details

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

Packagist/silverstripe/framework
Introduced in: 2.3Fixed in: 2.3.13
Fixcomposer require silverstripe/framework:^2.3.13
Packagist/silverstripe/framework
Introduced in: 2.4Fixed in: 2.4.7
Fixcomposer require silverstripe/framework:^2.4.7

References

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"]}'