VDB
Sign up
MEDIUM6.1

GHSA-hhvj-mcrx-3vcf

silverstripe/framework has Cross-site Scripting vulnerability in page name

Quick fix

GHSA-hhvj-mcrx-3vcf — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^3.4.4

Details

silverstripe/framework is vulnerable to XSS in Page name where the payload `"><svg/onload=alert(/xss/)>` will trigger an XSS alert.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 3.4.0-rc1Fixed in: 3.4.4
Fixcomposer require silverstripe/framework:^3.4.4
Packagist/silverstripe/framework
Introduced in: 3.5.0-rc1Fixed in: 3.5.2
Fixcomposer require silverstripe/framework:^3.5.2

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