CVE-2024-48927 Potential Code Execution Risk When Viewing SVG Files in Full Screen in Backoffice

Medium 4.6 Published Updated

Attackers can execute arbitrary code in the Umbraco Backoffice by tricking users into viewing malicious SVG files in full screen mode.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-48927?

CVE-2024-48927 is a medium-severity cross-site scripting vulnerability in Umbraco Umbraco Cms, published on 22 Oct 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Umbraco, a free and open source .NET content management system, has a remote code execution issue in versions on the 13.x branch prior to 13.5.2, 10.x prior to 10.8.7, and 8.x prior to 8.18.15. There is a potential risk of code execution for Backoffice users when they “preview” SVG files in full screen mode. Versions 13.5.2, 10.8,7, and 8.18.15 contain a patch for the issue. As a workaround, derver-side file validation is available to strip script tags from file's content during the file upload process.

Weakness: CWE-79, CWE-74

Which versions are affected by CVE-2024-48927?

6 open source packages ship an affected version, including Umbraco.Cms and UmbracoCms. It affects 1 product.

PackageAffectedFixed in
Umbraco.Cms NuGetFrom 10.0.010.8.7
Umbraco.Cms NuGetFrom 10.0.010.8.7
Umbraco.Cms NuGetFrom 13.0.013.5.2
Umbraco.Cms NuGetFrom 13.0.013.5.2
UmbracoCms NuGetFrom 8.0.08.18.15
UmbracoCms NuGetFrom 8.0.08.18.15

Products include Umbraco Umbraco Cms.

How do I fix CVE-2024-48927?

Upgrade Umbraco.Cms to a fixed version for your release line: 10.8.7 or 13.5.2.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-48927 being exploited?

There is no known exploitation of CVE-2024-48927 in the wild and no public exploit code.

All Umbraco Umbraco Cms vulnerabilities

Sources

Also known as GHSA-5955-cwv4-h7qh.

Is CVE-2024-48927 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free