medium5.4
CVE-2022-38147
XSS via uploaded gpx file
Impact
A malicious content author could upload a GPX file with a Javascript payload. The payload could then be executed by luring a legitimate user to view the file in a browser with support for GPX files. GPX is an XML-based format used to store GPS data. By default, Silverstripe CMS will no longer allow GPX files to be uploaded to the assets area.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | silverstripe/assets | >= 1.0.0, < 1.11.1 | 1.11.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Silverstripe | Framework | from 1.0.0 before 1.11.1 |
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-38147
- https://github.com/advisories/GHSA-vv3r-fxqp-vr3f
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2022-38147.yaml
- https://www.silverstripe.org/download/security-releases/cve-2022-38147
- https://nvd.nist.gov/vuln/detail/CVE-2022-38147