VDB
Sign up
MEDIUM5.4

GHSA-jx34-gqqq-r6gm

Stored XSS via HTML fields in SilverStripe Framework

Quick fix

GHSA-jx34-gqqq-r6gm — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^4.10.9

Details

SilverStripe Framework through 4.10.8 allows XSS, inside of script tags that can can be added to website content via XHR by an authenticated CMS user if the cwp-core module is not installed on the sanitise_server_side contig is not set to true in project code.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 4.0.0Fixed in: 4.10.9
Fixcomposer require silverstripe/framework:^4.10.9

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