Skip to content

Stored XSS via SVG File Upload

Low severity GitHub Reviewed Published Dec 12, 2023 in umbraco/Umbraco-CMS

Package

nuget Umbraco.CMS (NuGet)

Affected versions

>= 7.0.0, < 7.15.11
>= 8.0.0, < 8.18.9
>= 9.0.0, < 10.7.0
>= 11.0.0, < 11.5.0
>= 12.0.0, < 12.2.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

References

@bergmania bergmania published to umbraco/Umbraco-CMS Dec 12, 2023
Published by the National Vulnerability Database Dec 12, 2023
Published to the GitHub Advisory Database Dec 13, 2023
Reviewed Dec 13, 2023

Severity

Low

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:N

EPSS score

0.053%
(23rd percentile)

Weaknesses

CVE ID

CVE-2023-49279

GHSA ID

GHSA-6xmx-85x3-4cv2

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.