Stored XSS via SVG File Upload
Published 13 Dec 2023 · Updated 10 Sept 2026
Is your project on an affected Umbraco.CMS?
Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=7.0.0 <7.15.11
- Fixed in
- 7.15.11
dotnet add package Umbraco.CMS --version 7.15.11- Affected
- >=8.0.0 <8.18.9
- Fixed in
- 8.18.9
dotnet add package Umbraco.CMS --version 8.18.9- Affected
- >=9.0.0 <10.7.0
- Fixed in
- 10.7.0
dotnet add package Umbraco.CMS --version 10.7.0- Affected
- >=11.0.0 <11.5.0
- Fixed in
- 11.5.0
dotnet add package Umbraco.CMS --version 11.5.0- Affected
- >=12.0.0 <12.2.0
- Fixed in
- 12.2.0
dotnet add package Umbraco.CMS --version 12.2.0Details
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
Is GHSA-6xmx-85x3-4cv2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected Umbraco.CMS, and gives you the command that fixes it.
More advisories for Umbraco.CMS
- HighCVE-2026-69197Umbraco: Delivery API leaks protected (Public Access) content through Content Picker / Multi-Node Tree Picker expansion · 17 Sept 2026
- MediumCVE-2026-46609Umbraco.Cms: XSS/HTML Injection in Umbraco Backoffice confirmation dialog · 21 May 2026
- MediumCVE-2026-46616Umbraco.Cms: Open Redirect Vulnerability in Surface Controllers · 21 May 2026
- HighCVE-2026-31834Umbraco Affected by Vertical Privilege Escalation via Missing Authorization Checks · 11 Mar 2026
- MediumCVE-2026-31833Umbraco has Stored XSS in UFM Rendering Pipeline via Permissive DOMPurify Attribute Filtering · 11 Mar 2026
- MediumCVE-2026-31832Umbraco Backoffice API Allows Unauthorized Modification of Domain Data · 11 Mar 2026
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.