CVE-2024-48927: UmbracoCms Umbraco Has A Potential Code Vulnerability

MODERATE
Advisory Identifier: GHSA-5955-cwv4-h7qh
CVSS 4.6
CWE-74
Published
Advisory Summary

CVE-2024-48927 is a MODERATE (CVSS 4.6) umbraco has a potential code vulnerability (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')) affecting UmbracoCms libraries in the NuGet ecosystem. The issue involves umbraco has a potential code execution risk when viewing svg files in full screen in backoffice. Remediation is available by upgrading affected packages to version 8.18.15, 10.8.7, 13.5.2.

CVE-2024-48927 at a Glance

CVE Identifier CVE-2024-48927
GHSA Identifier GHSA-5955-cwv4-h7qh
Severity MODERATE
CVSS v3.1 Base Score 4.6
CWE Classification CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Affected Product UmbracoCms
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 4.6

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2024-48927

To remediate this vulnerability, upgrade all affected UmbracoCms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

UmbracoCms fixed: 8.18.15
Upgrade UmbracoCms to 8.18.15
Umbraco.Cms fixed: 10.8.7
Upgrade Umbraco.Cms to 10.8.7
Umbraco.Cms fixed: 13.5.2
Upgrade Umbraco.Cms to 13.5.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for UmbracoCms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-48927, inspect your project dependencies for UmbracoCms:

inspect dependencies for UmbracoCms

Analyze the terminal output to locate any version of UmbracoCms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.18.15), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection'), where the product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component. In UmbracoCms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact There is a potential risk of code execution for Backoffice users when they “preview” SVG files in full screen mode. ### Workarounds Server-side file validation is available to strip script tags from file's content during the file upload process.

CVE-2024-48927 Affected UmbracoCms Versions

3 component(s)
Fixed Versions:
8.18.1510.8.713.5.2
Product / Package Ecosystem Affected Versions Fixed Version
UmbracoCms
NuGet
≥ 8.0.0
< 8.18.15
8.18.15
Umbraco.Cms
NuGet
≥ 10.0.0
< 10.8.7
10.8.7
Umbraco.Cms
NuGet
≥ 13.0.0
< 13.5.2
13.5.2

References

Frequently Asked Questions

What is CVE-2024-48927?
CVE-2024-48927 is a security vulnerability in UmbracoCms involving Umbraco has a Potential Code Execution Risk When Viewing SVG Files in Full Screen in Backoffice under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection').
Which UmbracoCms versions are affected?
Affected versions include releases prior to 8.18.15, 10.8.7, 13.5.2 across affected packages: UmbracoCms, Umbraco.Cms.
What version fixes CVE-2024-48927?
Upgrading to 8.18.15, 10.8.7, 13.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is UmbracoCms affected?
Yes, UmbracoCms is affected in releases prior to 8.18.15. Upgrade your dependency to 8.18.15 or later.
Is Umbraco.Cms affected?
Yes, Umbraco.Cms is affected in releases prior to 10.8.7, 13.5.2. Upgrade your dependency to 10.8.7, 13.5.2 or later.
What is the CVSS score of CVE-2024-48927?
CVE-2024-48927 has a CVSS v3.1 base score of 4.6 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2024-48927?
CVE-2024-48927 is classified under CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.).
How can I check NuGet dependencies for CVE-2024-48927?
Run the dependency tree command: 'inspect dependencies for UmbracoCms'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5955-cwv4-h7qh",
  "modified" : "2024-10-22T19:22:30Z",
  "published" : "2024-10-22T18:12:38Z",
  "aliases" : [ "CVE-2024-48927" ],
  "summary" : "Umbraco has a Potential Code Execution Risk When Viewing SVG Files in Full Screen in Backoffice",
  "details" : "### Impact\nThere is a potential risk of code execution for Backoffice users when they “preview” SVG files in full screen mode.\n\n### Workarounds\nServer-side file validation is available to strip script tags from file's content during the file upload process.\n\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "UmbracoCms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.18.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.0.0"
      }, {
        "fixed" : "10.8.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0"
      }, {
        "fixed" : "13.5.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-5955-cwv4-h7qh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-48927"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/umbraco/Umbraco-CMS"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-74" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-10-22T18:12:38Z",
    "nvd_published_at" : "2024-10-22T16:15:08Z"
  }
}