GitHub Advisoryadvisory · Packagist
GHSA-vv3r-fxqp-vr3f XSS via uploaded gpx file
MEDIUM
Official page ↗
- Aliases
- CVE-2022-38147
- Ecosystem
- Packagist
- Packages
- silverstripe/assets
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2022-11-21
Affected packages
• Packagist silverstripe/assets: >= 1.0.0, < 1.11.1 → fixed in 1.11.1
Description
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.
Related
Alias · CVE (1)
- CVE-2022-38147 Silverstripe silverstripe/framework through 4.11 allows XSS (issue 3 of 3). vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-38147 advisory
- https://forum.silverstripe.org/c/releases web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2022-38147.yaml web
- https://www.silverstripe.org/blog/tag/release web
- https://www.silverstripe.org/download/security-releases web
- https://www.silverstripe.org/download/security-releases/cve-2022-38147 web