CVE-2024-48927: UmbracoCms Umbraco Has A Potential Code Vulnerability
MODERATECVE-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
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).
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.
Upgrade UmbracoCms to 8.18.15
Upgrade Umbraco.Cms to 10.8.7
Upgrade Umbraco.Cms to 13.5.2
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
CVE-2024-48927 Affected UmbracoCms Versions
3 component(s)| 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?
Which UmbracoCms versions are affected?
What version fixes CVE-2024-48927?
Is UmbracoCms affected?
Is Umbraco.Cms affected?
What is the CVSS score of CVE-2024-48927?
What CWE is associated with CVE-2024-48927?
How can I check NuGet dependencies for CVE-2024-48927?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}