Umbraco CMS vulnerable to stored XSS via SVG File Upload
Umbraco-CMS
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Umbraco.CMS NuGet |
|
|
Umbraco-CMS
| Product | Affected | Fixed in |
|---|---|---|
| Umbraco.CMS NuGet |
|
|
11.5.012.2.0Umbraco is an ASP.NET content management system (CMS). Starting in version 7.0.0 and prior to versions 7.15.11, 8.18.9, 10.7.0, 11.5.0, and 12.2.0, 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. Versions 7.15.11, 8.18.9, 10.7.0, 11.5.0, and 12.2.0 contain a patch for this issue. Some workarounds are available. Implement the server side file validation or serve all media from an different host (e.g cdn) than where Umbraco is hosted.
From the CVE record · GitHub_M
A user with backoffice access can upload an SVG file containing scripts. The scripts can run if the user tricks someone else into opening the media directly in a browser.
Teams running the NuGet Umbraco.CMS package in versions 7.0.0–7.15.10, 8.0.0–8.18.8, 9.0.0–10.6.x, 11.0.0–11.4.x, or 12.0.0–12.1.x should check their installations.