CVE-2025-23041: Umbraco.Forms Umbraco Forms's Short And Long Vulnerability

MODERATE
Advisory Identifier: GHSA-9v8m-qv22-f268
CVSS 5.8
CWE-20 CWE-602
Published
Advisory Summary

CVE-2025-23041 is a MODERATE (CVSS 5.8) umbraco forms's short and long vulnerability (CWE-20: Improper Input Validation) affecting Umbraco.Forms libraries in the NuGet ecosystem. The issue involves umbraco forms's short and long answer fields are not validated server-side for maximum length. Remediation is available by upgrading affected packages to version 10.5.7, 8.13.16, 13.2.2, 14.1.2.

CVE-2025-23041 at a Glance

CVE Identifier CVE-2025-23041
GHSA Identifier GHSA-9v8m-qv22-f268
Severity MODERATE
CVSS v3.1 Base Score 5.8
CWE Classification CWE-20: Improper Input Validation
Affected Product Umbraco.Forms
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 5.8

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

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

How to Fix CVE-2025-23041

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: 10.5.7
Upgrade Umbraco.Forms to 10.5.7
UmbracoForms fixed: 8.13.16
Upgrade UmbracoForms to 8.13.16
Umbraco.Forms fixed: 13.2.2
Upgrade Umbraco.Forms to 13.2.2
Umbraco.Forms fixed: 14.1.2
Upgrade Umbraco.Forms to 14.1.2
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-2025-23041, 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 10.5.7), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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 Character limits configured by editors for short and long answer fields are validated only client-side, not server-side. ### Patches Patched in 8.13.16, 10.5.7, 13.2.2, 14.1.2

CVE-2025-23041 Affected Umbraco.Forms Versions

4 component(s)
Fixed Versions:
10.5.78.13.1613.2.214.1.2
Product / Package Ecosystem Affected Versions Fixed Version
Umbraco.Forms
NuGet
< 10.5.7
10.5.7
UmbracoForms
NuGet
< 8.13.16
8.13.16
Umbraco.Forms
NuGet
≥ 11.0.0-rc1
< 13.2.2
13.2.2
Umbraco.Forms
NuGet
≥ 14.0.0-beta001
< 14.1.2
14.1.2

References

Frequently Asked Questions

What is CVE-2025-23041?
CVE-2025-23041 is a security vulnerability in Umbraco.Forms involving Umbraco Forms's Short and Long Answer Fields Are Not Validated Server-Side For Maximum Length under CWE-20: Improper Input Validation.
Which Umbraco.Forms versions are affected?
Affected versions include releases prior to 10.5.7, 8.13.16, 13.2.2, 14.1.2 across affected packages: Umbraco.Forms, UmbracoForms.
What version fixes CVE-2025-23041?
Upgrading to 10.5.7, 8.13.16, 13.2.2, 14.1.2 (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 10.5.7, 13.2.2, 14.1.2. Upgrade your dependency to 10.5.7, 13.2.2, 14.1.2 or later.
Is UmbracoForms affected?
Yes, UmbracoForms is affected in releases prior to 8.13.16. Upgrade your dependency to 8.13.16 or later.
What is the CVSS score of CVE-2025-23041?
CVE-2025-23041 has a CVSS v3.1 base score of 5.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L.
What CWE is associated with CVE-2025-23041?
CVE-2025-23041 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check NuGet dependencies for CVE-2025-23041?
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-9v8m-qv22-f268",
  "modified" : "2025-09-19T22:01:59Z",
  "published" : "2025-01-14T19:41:48Z",
  "aliases" : [ "CVE-2025-23041" ],
  "summary" : "Umbraco Forms's Short and Long Answer Fields Are Not Validated Server-Side For Maximum Length",
  "details" : "### Impact\n\nCharacter limits configured by editors for short and long answer fields are validated only client-side, not server-side.\n\n### Patches\n\nPatched in 8.13.16, 10.5.7, 13.2.2, 14.1.2",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Forms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "10.5.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "UmbracoForms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "8.13.16"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 8.13.15"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Forms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0-rc1"
      }, {
        "fixed" : "13.2.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Umbraco.Forms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "14.0.0-beta001"
      }, {
        "fixed" : "14.1.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/umbraco/Umbraco.Forms.Issues/security/advisories/GHSA-9v8m-qv22-f268"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-23041"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-602" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-01-14T19:41:48Z",
    "nvd_published_at" : "2025-01-14T19:15:44Z"
  }
}