VDB
Sign up
MEDIUM5.4

GHSA-wc6r-4ggc-79w5

Stored XSS using HTMLEditor

Quick fix

GHSA-wc6r-4ggc-79w5 — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^4.11.13

Details

A malicious content author could add a JavaScript payload to the href attribute of a link by splitting a javascript URL with white space characters.

An attacker must have access to the CMS to exploit this issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 4.0.0Fixed in: 4.11.13
Fixcomposer require silverstripe/framework:^4.11.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"]}'