Stored XSS via SVG File Upload
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| .NET (NuGet) | Umbraco.CMS | >= 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 | 7.15.11, 8.18.9, 10.7.0, 11.5.0, 12.2.0 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:N- Weakness (CWE)
CWE-79- Platform
- .NET (NuGet)
- Package
Umbraco.CMS- Disclosed
- 13.12.2023
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-6xmx-85x3-4cv2 - CC BY 4.0
Vulnerability history: Umbraco.CMS
All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 29
- First → latest
- 05.2022 09.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 5
- Medium 17
- Low 7
Disclosures per year
- 2022: 2
- 2023: 8
- 2024: 5
- 2025: 8
- 2026: 6
-
Stored XSS via SVG File Upload this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.