VDB
Sign up
MEDIUM5.4

GHSA-qqrg-8jpm-8mph

Silverstripe Framework: XSS via XHTML data URI

Quick fix

GHSA-qqrg-8jpm-8mph — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^6.2.13

Details

### Impact The HTML sanitiser did not remove XHTML and XML data URIs. A CMS author could store content that runs JavaScript in the browser of another user who views it.

### Reported by Jack Wallace from Bastion Security

Are you affected?

Enter the version of the package you're using.

Affected packages

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

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