CVE-2024-35239: Umbraco.Forms Cross-Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-p572-p2rj-q5f4
CVSS 2.7
CWE-79
Published
Advisory Summary

CVE-2024-35239 is a LOW (CVSS 2.7) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Umbraco.Forms libraries in the NuGet ecosystem. The issue involves umbraco forms components vulnerable to stored cross-site scripting. Remediation is available by upgrading affected packages to version 13.0.1, 12.2.2, 10.5.3, 8.13.13.

CVE-2024-35239 at a Glance

CVE Identifier CVE-2024-35239
GHSA Identifier GHSA-p572-p2rj-q5f4
Severity LOW
CVSS v3.1 Base Score 2.7
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Umbraco.Forms
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 2.7

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:N/S:U/C:L/I:N/A:N).

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

How to Fix CVE-2024-35239

To remediate this vulnerability, upgrade all affected Umbraco.Forms 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.Forms fixed: 13.0.1
Upgrade Umbraco.Forms to 13.0.1
Umbraco.Forms fixed: 12.2.2
Upgrade Umbraco.Forms to 12.2.2
Umbraco.Forms fixed: 10.5.3
Upgrade Umbraco.Forms to 10.5.3
Umbraco.Forms fixed: 8.13.13
Upgrade Umbraco.Forms to 8.13.13
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.Forms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-35239, inspect your project dependencies for Umbraco.Forms:

inspect dependencies for Umbraco.Forms

Analyze the terminal output to locate any version of Umbraco.Forms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 13.0.1), 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.Forms, 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 user that has access to edit Forms may inject unsafe code into Forms components. ### Patches Issue can be mitigated by configuring TitleAndDescription:AllowUnsafeHtmlRendering after upgrading to patched versions (13.0.1, 12.2.2, 10.5.3, 8.13.13). ### References https://docs.umbraco.com/umbraco-forms/release-notes#id-13.0.1-january-16th-2024 https://docs.umbraco.com/umbraco-forms/v/12.forms.latest/release-notes#id-12.2.2-january-16th-2024 https://docs.umbraco.com/umbraco-forms/v/10.forms.latest/release-notes https://docs.umbraco.com/umbraco-forms/developer/configuration#editing-configuration-values

CVE-2024-35239 Affected Umbraco.Forms Versions

4 component(s)
Fixed Versions:
13.0.112.2.210.5.38.13.13
Product / Package Ecosystem Affected Versions Fixed Version
Umbraco.Forms
NuGet
≥ 13.0.0
< 13.0.1
13.0.1
Umbraco.Forms
NuGet
≥ 12.0.0
< 12.2.2
12.2.2
Umbraco.Forms
NuGet
≥ 10.0.0
< 10.5.3
10.5.3
Umbraco.Forms
NuGet
≥ 8.0.0
< 8.13.13
8.13.13

References

Frequently Asked Questions

What is CVE-2024-35239?
CVE-2024-35239 is a security vulnerability in Umbraco.Forms involving Umbraco Forms components vulnerable to Stored Cross-site Scripting under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Umbraco.Forms versions are affected?
Affected versions include releases prior to 13.0.1, 12.2.2, 10.5.3, 8.13.13 across affected packages: Umbraco.Forms.
What version fixes CVE-2024-35239?
Upgrading to 13.0.1, 12.2.2, 10.5.3, 8.13.13 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Umbraco.Forms affected?
Yes, Umbraco.Forms is affected in releases prior to 13.0.1, 12.2.2, 10.5.3, 8.13.13. Upgrade your dependency to 13.0.1, 12.2.2, 10.5.3, 8.13.13 or later.
What is the CVSS score of CVE-2024-35239?
CVE-2024-35239 has a CVSS v3.1 base score of 2.7 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2024-35239?
CVE-2024-35239 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-35239?
Run the dependency tree command: 'inspect dependencies for Umbraco.Forms'. 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-p572-p2rj-q5f4",
  "modified" : "2026-01-05T22:34:36Z",
  "published" : "2024-05-28T20:40:31Z",
  "aliases" : [ "CVE-2024-35239" ],
  "summary" : "Umbraco Forms components vulnerable to Stored Cross-site Scripting",
  "details" : "### Impact\nAuthenticated user that has access to edit Forms  may inject unsafe code into Forms components.\n\n### Patches\nIssue can be mitigated by configuring TitleAndDescription:AllowUnsafeHtmlRendering after upgrading to patched versions (13.0.1, 12.2.2, 10.5.3, 8.13.13).\n\n### References\nhttps://docs.umbraco.com/umbraco-forms/release-notes#id-13.0.1-january-16th-2024\nhttps://docs.umbraco.com/umbraco-forms/v/12.forms.latest/release-notes#id-12.2.2-january-16th-2024\nhttps://docs.umbraco.com/umbraco-forms/v/10.forms.latest/release-notes\nhttps://docs.umbraco.com/umbraco-forms/developer/configuration#editing-configuration-values",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Forms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "13.0.0"
      }, {
        "fixed" : "13.0.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Forms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "12.2.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Forms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.0.0"
      }, {
        "fixed" : "10.5.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Forms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.0.0"
      }, {
        "fixed" : "8.13.13"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco.Forms.Issues/security/advisories/GHSA-p572-p2rj-q5f4"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-35239"
  }, {
    "type" : "WEB",
    "url" : "https://docs.umbraco.com/umbraco-forms/developer/configuration#editing-configuration-values"
  }, {
    "type" : "WEB",
    "url" : "https://docs.umbraco.com/umbraco-forms/release-notes#id-13.0.1-january-16th-2024"
  }, {
    "type" : "WEB",
    "url" : "https://docs.umbraco.com/umbraco-forms/v/10.forms.latest/release-notes"
  }, {
    "type" : "WEB",
    "url" : "https://docs.umbraco.com/umbraco-forms/v/10.forms.latest/release-notes#version-8"
  }, {
    "type" : "WEB",
    "url" : "https://docs.umbraco.com/umbraco-forms/v/12.forms.latest/release-notes#id-12.2.2-january-16th-2024"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/umbraco/Umbraco.Forms.Issues"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-28T20:40:31Z",
    "nvd_published_at" : "2024-05-28T21:16:31Z"
  }
}