VDB
Sign up
MEDIUM4.7

GHSA-hq4p-5mpr-jj9m

Silverstripe XSS in dev/build returnURL Parameter

Quick fix

GHSA-hq4p-5mpr-jj9m — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^3.1.14

Details

A XSS risk exists in the returnURL parameter passed to dev/build. An unvalidated url could cause the user to redirect to an unverified third party url outside of the site.

This issue is resolved in framework 3.1.14 stable release.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

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