VDB
Sign up
MEDIUM6.1

GHSA-mpqj-f4v3-334h

Silverstripe Cross-site scripting vulnerability in VersionedRequestFilter

Quick fix

GHSA-mpqj-f4v3-334h — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^3.3.3

Details

A cross-site scripting vulnerability in VersionedRequestFilter has been found.

If an incoming user request should not be able to access the requested stage, an error message is created for display on the CMS login page that they are redirected to. In this error message, the URL of the requested page is interpolated into the error message without being escaped; hence, arbitrary HTML can be injected into the CMS login page.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 3.3.2Fixed in: 3.3.3
Fixcomposer require silverstripe/framework:^3.3.3
Packagist/silverstripe/framework
Introduced in: 3.4.0Fixed in: 3.4.1
Fixcomposer require silverstripe/framework:^3.4.1

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