Advisory

GHSA-vv3r-fxqp-vr3f

Also known as: CVE-2022-38147

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.

By default, Silverstripe CMS will no longer allow GPX files to be uploaded to the assets area.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-11-21 23:58 UTC
Modified
2024-02-20 05:31 UTC

Affected packages and fixes

silverstripe/assets

Packagist · All systems

Affected

  • introduced 1.0.0, fixed 1.11.1 (ecosystem)

Fixed versions

1.11.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences