medium5.4
CVE-2022-38724
Silverstripe XSS in shortcodes
Impact
A malicious content author could add arbitrary attributes to HTML editor shortcodes which could be used to inject a JavaScript payload on the front end of the site. The shortcode providers that ship with Silverstripe CMS have been reviewed and attribute whitelists have been implemented where appropriate to negate this risk.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | silverstripe/assets | >= 1.0.0, < 1.11.1 | 1.11.1 |
| composer | silverstripe/framework | >= 4.0.0, < 4.11.13 | 4.11.13 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Silverstripe | Asset Admin | through 1.11.0 |
| Silverstripe | Assets | from 1.0.0 through 1.11.0 |
| Silverstripe | Framework | from 4.0.0 through 4.11.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://forum.silverstripe.org/c/releases
- https://www.silverstripe.org/blog/tag/release
- https://www.silverstripe.org/download/security-releases/
- https://www.silverstripe.org/download/security-releases/CVE-2022-38724
- https://github.com/advisories/GHSA-9cx2-hj6m-fv58
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2022-38724.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-38724.yaml
- https://www.silverstripe.org/download/security-releases/cve-2022-38724
- https://nvd.nist.gov/vuln/detail/CVE-2022-38724
- https://www.silverstripe.org/download/security-releases