CVE-2024-35239: Umbraco.Forms Cross-Site Scripting Vulnerability
LOWCVE-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
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).
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.
Upgrade Umbraco.Forms to 13.0.1
Upgrade Umbraco.Forms to 12.2.2
Upgrade Umbraco.Forms to 10.5.3
Upgrade Umbraco.Forms to 8.13.13
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
CVE-2024-35239 Affected Umbraco.Forms Versions
4 component(s)| 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?
Which Umbraco.Forms versions are affected?
What version fixes CVE-2024-35239?
Is Umbraco.Forms affected?
What is the CVSS score of CVE-2024-35239?
What CWE is associated with CVE-2024-35239?
How can I check NuGet dependencies for CVE-2024-35239?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}