Skip to content

Stored XSS via SVG File Upload

Low
bergmania published GHSA-6xmx-85x3-4cv2 Dec 12, 2023

Package

nuget Umbraco.CMS (NuGet)

Affected versions

> 7.0.0

Patched versions

7.15.11, 8.18.9, 10.7.0, 11.5.0, 12.2.0+

Description

Impact

A user with access to the backoffice can upload SVG files that include scripts. If the user can trick another user to load the media directly in a browser, the scripts can be executed.

Workaround

Implement the server side file validation
https://docs.umbraco.com/umbraco-cms/reference/security/serverside-file-validation

or

Serve all media from an different host (e.g cdn) that where umbraco is hosted

Severity

Low
0.0
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:N

CVE ID

CVE-2023-49279

Weaknesses

No CWEs

Credits