Lucene search

K
githubGitHub Advisory DatabaseGHSA-6XMX-85X3-4CV2
HistoryDec 13, 2023 - 1:30 p.m.

Stored XSS via SVG File Upload

2023-12-1313:30:53
CWE-79
GitHub Advisory Database
github.com
19
stored xss
svg file upload
server side validation
media hosting

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.3%

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

Affected configurations

Vulners
Node
umbraco.cmsRange<12.2.0
OR
umbraco.cmsRange<11.5.0
OR
umbraco.cmsRange9.0.0
OR
umbraco.cmsRange<10.7.0
OR
umbraco.cmsRange<8.18.9
OR
umbraco.cmsRange<7.15.11

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

13.3%

Related for GHSA-6XMX-85X3-4CV2