GHSA-58q2-9x27-h2jm: Solspace/craft freeform Denial of Service Vulnerability
LOWGHSA-58q2-9x27-h2jm is a LOW denial of service vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Solspace/craft freeform libraries in the Packagist ecosystem. The issue involves solspace/craft-freeform has a dos vulnerability. Remediation is available by upgrading affected packages to version 4.1.30.
GHSA-58q2-9x27-h2jm at a Glance
How to Fix GHSA-58q2-9x27-h2jm
To remediate this vulnerability, upgrade all affected Solspace/craft freeform 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 solspace/craft-freeform to 4.1.30
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for solspace/craft-freeform
How to Check if You Are Affected
To determine whether your application is affected by GHSA-58q2-9x27-h2jm, inspect your project dependencies for Solspace/craft freeform:
inspect dependencies for solspace/craft-freeform
Analyze the terminal output to locate any version of Solspace/craft freeform in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.30), 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Solspace/craft freeform, 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
GHSA-58q2-9x27-h2jm Affected Solspace/craft freeform Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
solspace/craft-freeform
|
Packagist |
< 4.1.30
|
4.1.30
|
References
Frequently Asked Questions
What is GHSA-58q2-9x27-h2jm?
Which Solspace/craft freeform versions are affected?
What version fixes GHSA-58q2-9x27-h2jm?
Is solspace/craft-freeform affected?
What CWE is associated with GHSA-58q2-9x27-h2jm?
How can I check Packagist dependencies for GHSA-58q2-9x27-h2jm?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-58q2-9x27-h2jm",
"modified" : "2026-01-15T22:31:35Z",
"published" : "2026-01-15T20:12:25Z",
"aliases" : [ ],
"summary" : "solspace/craft-freeform Has a DoS Vulnerability",
"details" : "### Summary\nFreeform plugin v4.1.29 uses vulnerable Axios ^1.7.7 allowing unauthenticated attackers to crash servers via malicious data: URIs causing memory exhaustion (CVE-2025-58754).\n\nFreeform version: 4.1.29\nCraft CMS version: 4.16.8\n\n### Impact\nWhen Axios runs on Node.js and is given a URL with the `data:` scheme, it does not perform HTTP. Instead, its Node http adapter decodes the entire payload into memory (`Buffer`/`Blob`) and returns a synthetic 200 response. This path ignores `maxContentLength` / `maxBodyLength` (which only protect HTTP responses), so an attacker can supply a very large `data:` URI and cause the process to allocate unbounded memory and crash (DoS), even if the caller requested `responseType: 'stream'`.\n\nhttps://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj\nhttps://github.com/axios/axios/pull/7011\nhttps://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593\nhttps://github.com/axios/axios/releases/tag/v1.12.0",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "solspace/craft-freeform"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.1.30"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "< 4.1.29"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj"
}, {
"type" : "WEB",
"url" : "https://github.com/solspace/craft-freeform/security/advisories/GHSA-58q2-9x27-h2jm"
}, {
"type" : "WEB",
"url" : "https://github.com/axios/axios/pull/7011"
}, {
"type" : "WEB",
"url" : "https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593"
}, {
"type" : "WEB",
"url" : "https://github.com/solspace/craft-freeform/commit/e7402a1d1ce9f28ecb6ce659885ac66391d3a040"
}, {
"type" : "WEB",
"url" : "https://github.com/axios/axios/releases/tag/v1.12.0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/solspace/craft-freeform"
}, {
"type" : "WEB",
"url" : "https://github.com/solspace/craft-freeform/releases/tag/v4.1.30"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-770" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-15T20:12:25Z",
"nvd_published_at" : null
}
}