CVE-2022-38724
MEDIUM5.4EPSS 0.32%Silverstripe XSS in shortcodes
Published: 11/21/2022Modified: 4/29/2025
Also known as:GHSA-9cx2-hj6m-fv58
Description
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 (2)
- Packagist/silverstripe/assets>= 1.0.0, < 1.11.1
- Packagist/silverstripe/framework>= 4.0.0, < 4.11.13
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-38724
- WEBhttps://forum.silverstripe.org/c/releases
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2022-38724.yaml
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2022-38724.yaml
- WEBhttps://www.silverstripe.org/blog/tag/release
- WEBhttps://www.silverstripe.org/download/security-releases
- WEBhttps://www.silverstripe.org/download/security-releases/cve-2022-38724