Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/assets
  4. ›
  5. GMS-2022-6854

GMS-2022-6854: XSS via uploaded gpx file

November 21, 2022

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/assets/CVE-2022-38147.yaml
  • github.com/advisories/GHSA-vv3r-fxqp-vr3f
  • www.silverstripe.org/download/security-releases/cve-2022-38147

Code Behaviors & Features

Detect and mitigate GMS-2022-6854 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.0.0 before 1.11.1

Fixed versions

  • 1.11.1

Solution

Upgrade to version 1.11.1 or above.

Source file

packagist/silverstripe/assets/GMS-2022-6854.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:48 +0000.