VDB
Sign up
LOW1.3

GHSA-wg4m-vvp6-2hc5

SilverStripe vulnerable to Cross-site Scripting

Quick fix

GHSA-wg4m-vvp6-2hc5 — silverstripe/cms: upgrade to the fixed version with the command below.

composer require silverstripe/cms:^2.3.5

Details

Multiple cross-site scripting (XSS) vulnerabilities in SilverStripe before 2.3.5 allow remote attackers to inject arbitrary web script or HTML via (1) the CommenterURL parameter to PostCommentForm, and in the Forum module before 0.2.5 in SilverStripe before 2.3.5 allow remote attackers to inject arbitrary web script or HTML via (2) the Search parameter to forums/search (aka the search script).

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/cms
Introduced in: 0Fixed in: 2.3.5
Fixcomposer require silverstripe/cms:^2.3.5
Packagist/silverstripe/framework
Introduced in: 0Fixed in: 2.3.5
Fixcomposer require silverstripe/framework:^2.3.5

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