CVE-2024-10761: Umbraco.Cms.Web.Common Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-69cg-w8vm-h229
CVSS 4.3
CWE-79
Published
Advisory Summary

CVE-2024-10761 is a MODERATE (CVSS 4.3) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Umbraco.Cms.Web.Common libraries in the NuGet ecosystem. The issue involves xss/html injection vulnerability in umbraco preview badge. Remediation is available by upgrading affected packages to version 13.5.3, 10.8.8, 14.3.2, 15.1.2.

CVE-2024-10761 at a Glance

CVE Identifier CVE-2024-10761
GHSA Identifier GHSA-69cg-w8vm-h229
Severity MODERATE
CVSS v3.1 Base Score 4.3
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Umbraco.Cms.Web.Common
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 4.3

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

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

How to Fix CVE-2024-10761

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

Umbraco.Cms.Web.Common fixed: 13.5.3
Upgrade Umbraco.Cms.Web.Common to 13.5.3
Umbraco.Cms fixed: 10.8.8
Upgrade Umbraco.Cms to 10.8.8
Umbraco.Cms fixed: 13.5.3
Upgrade Umbraco.Cms to 13.5.3
Umbraco.Cms fixed: 14.3.2
Upgrade Umbraco.Cms to 14.3.2
Umbraco.Cms fixed: 15.1.2
Upgrade Umbraco.Cms to 15.1.2
Umbraco.Cms.Web.Common fixed: 14.3.2
Upgrade Umbraco.Cms.Web.Common to 14.3.2
Umbraco.Cms.Web.Common fixed: 15.1.2
Upgrade Umbraco.Cms.Web.Common to 15.1.2
Umbraco.Cms.Web.Common fixed: 10.8.8
Upgrade Umbraco.Cms.Web.Common to 10.8.8
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 Umbraco.Cms.Web.Common

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-10761, inspect your project dependencies for Umbraco.Cms.Web.Common:

inspect dependencies for Umbraco.Cms.Web.Common

Analyze the terminal output to locate any version of Umbraco.Cms.Web.Common in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.5.3), 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-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Umbraco.Cms.Web.Common, 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 Authenticated users are able to exploit an XSS vulnerability when viewing previewed content. ### Patches Will be patched in 10.8.8, 13.5.3, 14.3.2 and 15.1.2. ### Workarounds None available.

CVE-2024-10761 Affected Umbraco.Cms.Web.Common Versions

8 component(s)
Fixed Versions:
13.5.310.8.814.3.215.1.2
Product / Package Ecosystem Affected Versions Fixed Version
Umbraco.Cms.Web.Common
NuGet
≥ 11.0.0
< 13.5.3
13.5.3
Umbraco.Cms
NuGet
≥ 10.8.7
< 10.8.8
10.8.8
Umbraco.Cms
NuGet
≥ 11.0.0
< 13.5.3
13.5.3
Umbraco.Cms
NuGet
≥ 14.0.0
< 14.3.2
14.3.2
Umbraco.Cms
NuGet
≥ 15.0.0
< 15.1.2
15.1.2
Umbraco.Cms.Web.Common
NuGet
≥ 14.0.0
< 14.3.2
14.3.2
Umbraco.Cms.Web.Common
NuGet
≥ 15.0.0
< 15.1.2
15.1.2
Umbraco.Cms.Web.Common
NuGet
≥ 10.8.7
< 10.8.8
10.8.8

References

Frequently Asked Questions

What is CVE-2024-10761?
CVE-2024-10761 is a security vulnerability in Umbraco.Cms.Web.Common involving XSS/HTML Injection Vulnerability in Umbraco Preview Badge under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Umbraco.Cms.Web.Common versions are affected?
Affected versions include releases prior to 13.5.3, 10.8.8, 14.3.2, 15.1.2 across affected packages: Umbraco.Cms.Web.Common, Umbraco.Cms.
What version fixes CVE-2024-10761?
Upgrading to 13.5.3, 10.8.8, 14.3.2, 15.1.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Umbraco.Cms.Web.Common affected?
Yes, Umbraco.Cms.Web.Common is affected in releases prior to 13.5.3, 14.3.2, 15.1.2, 10.8.8. Upgrade your dependency to 13.5.3, 14.3.2, 15.1.2, 10.8.8 or later.
Is Umbraco.Cms affected?
Yes, Umbraco.Cms is affected in releases prior to 10.8.8, 13.5.3, 14.3.2, 15.1.2. Upgrade your dependency to 10.8.8, 13.5.3, 14.3.2, 15.1.2 or later.
What is the CVSS score of CVE-2024-10761?
CVE-2024-10761 has a CVSS v3.1 base score of 4.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2024-10761?
CVE-2024-10761 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check NuGet dependencies for CVE-2024-10761?
Run the dependency tree command: 'inspect dependencies for Umbraco.Cms.Web.Common'. 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-69cg-w8vm-h229",
  "modified" : "2025-02-19T17:59:39Z",
  "published" : "2025-01-21T21:24:20Z",
  "aliases" : [ "CVE-2024-10761" ],
  "summary" : "XSS/HTML Injection Vulnerability in Umbraco Preview Badge",
  "details" : "### Impact\n\nAuthenticated users are able to exploit an XSS vulnerability when viewing previewed content.\n\n### Patches\n\nWill be patched in 10.8.8, 13.5.3, 14.3.2 and 15.1.2.\n\n### Workarounds\n\nNone available.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "13.5.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0"
      }, {
        "fixed" : "14.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0"
      }, {
        "fixed" : "15.1.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.8.7"
      }, {
        "fixed" : "10.8.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Web.Common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "13.5.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Web.Common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0"
      }, {
        "fixed" : "14.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Web.Common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "15.0.0"
      }, {
        "fixed" : "15.1.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Cms.Web.Common"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.8.7"
      }, {
        "fixed" : "10.8.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-69cg-w8vm-h229"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-10761"
  }, {
    "type" : "WEB",
    "url" : "https://drive.google.com/file/d/1YoZgdlS3QT7Xu005j9RO-FFUT8RbB0Da/view?usp=sharing"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/umbraco/Umbraco-CMS"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.282930"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.282930"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?submit.427091"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-21T21:24:20Z",
    "nvd_published_at" : null
  }
}