CVE-2023-38694: Umbraco.CMS Possible Injection Of HTML Into Vulnerability

LOW
Advisory Identifier: GHSA-xxc6-35r7-796w
CVSS 0.0
CWE-79
Published
Advisory Summary

CVE-2023-38694 is a LOW (CVSS 0.0) possible injection of html into vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Umbraco.CMS libraries in the NuGet ecosystem. The issue involves possible injection of html into user invite mails. Remediation is available by upgrading affected packages to version 8.18.10, 10.7.0, 12.1.0.

CVE-2023-38694 at a Glance

CVE Identifier CVE-2023-38694
GHSA Identifier GHSA-xxc6-35r7-796w
Severity LOW
CVSS v3.1 Base Score 0.0
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Umbraco.CMS
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 0.0

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

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

How to Fix CVE-2023-38694

To remediate this vulnerability, upgrade all affected Umbraco.CMS 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 fixed: 8.18.10
Upgrade Umbraco.CMS to 8.18.10
Umbraco.CMS fixed: 10.7.0
Upgrade Umbraco.CMS to 10.7.0
Umbraco.CMS fixed: 12.1.0
Upgrade Umbraco.CMS to 12.1.0
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

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-38694, inspect your project dependencies for Umbraco.CMS:

inspect dependencies for Umbraco.CMS

Analyze the terminal output to locate any version of Umbraco.CMS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 8.18.10), 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, 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 A user with access to a specific part of the backoffice is able to inject HTML code into a form where it is not intended. #### Explanation of the vulnerability A person with access to the backoffice and the "users" section could send a user invite and inject HTML code into the invite message.

CVE-2023-38694 Affected Umbraco.CMS Versions

3 component(s)
Fixed Versions:
8.18.1010.7.012.1.0
Product / Package Ecosystem Affected Versions Fixed Version
Umbraco.CMS
NuGet
≥ 8.0.0
< 8.18.10
8.18.10
Umbraco.CMS
NuGet
≥ 9.0.0
< 10.7.0
10.7.0
Umbraco.CMS
NuGet
≥ 11.0.0
< 12.1.0
12.1.0

References

Frequently Asked Questions

What is CVE-2023-38694?
CVE-2023-38694 is a security vulnerability in Umbraco.CMS involving Possible injection of HTML into user invite mails under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Umbraco.CMS versions are affected?
Affected versions include releases prior to 8.18.10, 10.7.0, 12.1.0 across affected packages: Umbraco.CMS.
What version fixes CVE-2023-38694?
Upgrading to 8.18.10, 10.7.0, 12.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Umbraco.CMS affected?
Yes, Umbraco.CMS is affected in releases prior to 8.18.10, 10.7.0, 12.1.0. Upgrade your dependency to 8.18.10, 10.7.0, 12.1.0 or later.
What is the CVSS score of CVE-2023-38694?
CVE-2023-38694 has a CVSS v3.1 base score of 0.0 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:N.
What CWE is associated with CVE-2023-38694?
CVE-2023-38694 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-2023-38694?
Run the dependency tree command: 'inspect dependencies for Umbraco.CMS'. 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-xxc6-35r7-796w",
  "modified" : "2024-01-12T16:27:29Z",
  "published" : "2023-12-13T13:17:37Z",
  "aliases" : [ "CVE-2023-38694" ],
  "summary" : "Possible injection of HTML into user invite mails",
  "details" : "#### Impact\nA user with access to a specific part of the backoffice is able to inject HTML code into a form where it is not intended.\n\n#### Explanation of the vulnerability \nA person with access to the backoffice and the \"users\" section could send a user invite and inject HTML code into the invite message.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.CMS"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.18.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.CMS"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0"
      }, {
        "fixed" : "10.7.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.CMS"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "12.1.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco-CMS/security/advisories/GHSA-xxc6-35r7-796w"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-38694"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/umbraco/Umbraco-CMS"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-12-13T13:17:37Z",
    "nvd_published_at" : "2023-12-12T17:15:07Z"
  }
}