{"id":"GHSA-vv3r-fxqp-vr3f","summary":"XSS via uploaded gpx file","details":"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.\n\nBy default, Silverstripe CMS will no longer allow GPX files to be uploaded to the assets area.","aliases":["CVE-2022-38147"],"modified":"2024-02-20T05:31:49.434052Z","published":"2022-11-21T23:58:07Z","database_specific":{"github_reviewed_at":"2022-11-21T23:58:07Z","nvd_published_at":"2022-11-23T03:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38147"},{"type":"WEB","url":"https://forum.silverstripe.org/c/releases"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2022-38147.yaml"},{"type":"WEB","url":"https://www.silverstripe.org/blog/tag/release"},{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases"},{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases/cve-2022-38147"}],"affected":[{"package":{"name":"silverstripe/assets","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/assets"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"1.11.1"}]}],"versions":["1.0.0","1.0.1","1.0.1-rc1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.1.0","1.1.0-rc1","1.1.0-rc2","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.10.0","1.10.0-beta1","1.10.0-rc1","1.10.1","1.11.0","1.11.0-beta1","1.11.0-rc1","1.2.0","1.2.0-beta1","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5","1.3.0","1.3.0-rc1","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.0-rc1","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.5.0","1.5.0-alpha1","1.5.0-rc1","1.5.0-rc2","1.5.1","1.5.2","1.5.3","1.6.0","1.6.0-beta1","1.6.0-rc1","1.6.1","1.7.0","1.7.0-beta1","1.7.0-rc1","1.7.1","1.8.0","1.8.0-beta1","1.8.0-rc1","1.9.0","1.9.0-alpha1","1.9.0-beta1","1.9.0-rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-vv3r-fxqp-vr3f/GHSA-vv3r-fxqp-vr3f.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}