solspace/craft-freeform Has a DoS Vulnerability
The advisory, in context
Summary
Freeform 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).
Freeform version: 4.1.29 Craft CMS version: 4.16.8
Impact
When 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'.
https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj https://github.com/axios/axios/pull/7011 https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593 https://github.com/axios/axios/releases/tag/v1.12.0
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 4.1.30
Fixed in 4.1.30
321 explicitly affected versions
2.0.0, 2.0.0-beta.1, 2.0.0-beta.10, 2.0.0-beta.11, 2.0.0-beta.12, 2.0.0-beta.13, 2.0.0-beta.14, 2.0.0-beta.15, 2.0.0-beta.16, 2.0.0-beta.17, 2.0.0-beta.18, 2.0.0-beta.19, 2.0.0-beta.2, 2.0.0-beta.20, 2.0.0-beta.3, 2.0.0-beta.4, 2.0.0-beta.5, 2.0.0-beta.6, 2.0.0-beta.7, 2.0.0-beta.8, 2.0.0-beta.9, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.5.0, 2.5.1, 2.5.10, 2.5.11, 2.5.12, 2.5.13, 2.5.14, 2.5.15, 2.5.16, 2.5.17, 2.5.18, 2.5.19, 2.5.2, 2.5.20, 2.5.21, 2.5.22, 2.5.23, 2.5.24, 2.5.25, 2.5.26, 2.5.27, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.5.7, 2.5.8, 2.5.9, 3.0.0, 3.0.0-beta.1, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.1.0, 3.10.0, 3.10.0-beta.1, 3.10.0-beta.2, 3.10.0-beta.3, 3.10.0-beta.4, 3.10.0-beta.5, 3.10.0-beta.6, 3.10.1, 3.10.10, 3.10.11, 3.10.2, 3.10.2.1, 3.10.3, 3.10.4, 3.10.5, 3.10.6, 3.10.7, 3.10.8, 3.10.9, 3.11.0, 3.11.0-beta.1, 3.11.0-beta.2, 3.11.0-beta.3, 3.11.0-beta.4, 3.11.0-beta.5, 3.11.0-beta.6, 3.11.1, 3.11.10, 3.11.11, 3.11.11.1, 3.11.12, 3.11.13, 3.11.13.1, 3.11.2, 3.11.3, 3.11.4, 3.11.4.1, 3.11.5, 3.11.6, 3.11.7, 3.11.8, 3.11.9, 3.12.0, 3.12.0-beta.10, 3.12.0-beta.3, 3.12.0-beta.4, 3.12.0-beta.5, 3.12.0-beta.6, 3.12.0-beta.7, 3.12.0-beta.8, 3.12.0-beta.9, 3.12.1, 3.12.10, 3.12.11, 3.12.12, 3.12.12.1, 3.12.13, 3.12.2, 3.12.3, 3.12.4, 3.12.5, 3.12.6, 3.12.7, 3.12.8, 3.12.9, 3.12.9.1, 3.13.0, 3.13.1, 3.13.10, 3.13.11, 3.13.12, 3.13.13, 3.13.14, 3.13.15, 3.13.16, 3.13.17, 3.13.18, 3.13.19, 3.13.2, 3.13.20, 3.13.21, 3.13.22, 3.13.22.1, 3.13.23, 3.13.24, 3.13.25, 3.13.26, 3.13.27, 3.13.28, 3.13.29, 3.13.3, 3.13.30, 3.13.31, 3.13.32, 3.13.33, 3.13.34, 3.13.35, 3.13.36, 3.13.37, 3.13.38, 3.13.4, 3.13.5, 3.13.5.1, 3.13.6, 3.13.7, 3.13.8, 3.13.9, 3.2.0, 3.2.1, 3.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 4.1.6, 4.1.7, 4.1.8, 4.1.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "4.1.30"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.0",
"2.0.0-beta.1",
"2.0.0-beta.10",
"2.0.0-beta.11",
"2.0.0-beta.12",
"2.0.0-beta.13",
"2.0.0-beta.14",
"2.0.0-beta.15",
"2.0.0-beta.16",
"2.0.0-beta.17",
"2.0.0-beta.18",
"2.0.0-beta.19",
"2.0.0-beta.2",
"2.0.0-beta.20",
"2.0.0-beta.3",
"2.0.0-beta.4",
"2.0.0-beta.5",
"2.0.0-beta.6",
"2.0.0-beta.7",
"2.0.0-beta.8",
"2.0.0-beta.9",
"2.0.1",
"2.0.2",
"2.0.3",
"2.0.4",
"2.1.0",
"2.1.1",
"2.2.0",
"2.2.1",
"2.2.2",
"2.3.0",
"2.3.1",
"2.3.2",
"2.3.3",
"2.3.4",
"2.4.0",
"2.4.1",
"2.4.2",
"2.4.3",
"2.5.0",
"2.5.1",
"2.5.10",
"2.5.11",
"2.5.12",
"2.5.13",
"2.5.14",
"2.5.15",
"2.5.16",
"2.5.17",
"2.5.18",
"2.5.19",
"2.5.2",
"2.5.20",
"2.5.21",
"2.5.22",
"2.5.23",
"2.5.24",
"2.5.25",
"2.5.26",
"2.5.27",
"2.5.3",
"2.5.4",
"2.5.5",
"2.5.6",
"2.5.7",
"2.5.8",
"2.5.9",
"3.0.0",
"3.0.0-beta.1",
"3.0.1",
"3.0.2",
"3.0.3",
"3.0.4",
"3.0.5",
"3.0.6",
"3.1.0",
"3.10.0",
"3.10.0-beta.1",
"3.10.0-beta.2",
"3.10.0-beta.3",
"3.10.0-beta.4",
"3.10.0-beta.5",
"3.10.0-beta.6",
"3.10.1",
"3.10.10",
"3.10.11",
"3.10.2",
"3.10.2.1",
"3.10.3",
"3.10.4",
"3.10.5",
"3.10.6",
"3.10.7",
"3.10.8",
"3.10.9",
"3.11.0",
"3.11.0-beta.1",
"3.11.0-beta.2",
"3.11.0-beta.3",
"3.11.0-beta.4",
"3.11.0-beta.5",
"3.11.0-beta.6",
"3.11.1",
"3.11.10",
"3.11.11",
"3.11.11.1",
"3.11.12",
"3.11.13",
"3.11.13.1",
"3.11.2",
"3.11.3",
"3.11.4",
"3.11.4.1",
"3.11.5",
"3.11.6",
"3.11.7",
"3.11.8",
"3.11.9",
"3.12.0",
"3.12.0-beta.10",
"3.12.0-beta.3",
"3.12.0-beta.4",
"3.12.0-beta.5",
"3.12.0-beta.6",
"3.12.0-beta.7",
"3.12.0-beta.8",
"3.12.0-beta.9",
"3.12.1",
"3.12.10",
"3.12.11",
"3.12.12",
"3.12.12.1",
"3.12.13",
"3.12.2",
"3.12.3",
"3.12.4",
"3.12.5",
"3.12.6",
"3.12.7",
"3.12.8",
"3.12.9",
"3.12.9.1",
"3.13.0",
"3.13.1",
"3.13.10",
"3.13.11",
"3.13.12",
"3.13.13",
"3.13.14",
"3.13.15",
"3.13.16",
"3.13.17",
"3.13.18",
"3.13.19",
"3.13.2",
"3.13.20",
"3.13.21",
"3.13.22",
"3.13.22.1",
"3.13.23",
"3.13.24",
"3.13.25",
"3.13.26",
"3.13.27",
"3.13.28",
"3.13.29",
"3.13.3",
"3.13.30",
"3.13.31",
"3.13.32",
"3.13.33",
"3.13.34",
"3.13.35",
"3.13.36",
"3.13.37",
"3.13.38",
"3.13.4",
"3.13.5",
"3.13.5.1",
"3.13.6",
"3.13.7",
"3.13.8",
"3.13.9",
"3.2.0",
"3.2.1",
"3.2.2",
"3.2.3",
"3.2.4",
"3.2.5",
"3.3.0",
"3.3.1",
"3.3.2",
"3.3.3",
"3.4.0",
"3.4.1",
"3.5.0",
"3.5.1",
"3.5.10",
"3.5.2",
"3.5.3",
"3.5.4",
"3.5.5",
"3.5.6",
"3.5.7",
"3.5.8",
"3.5.9",
"3.6.0",
"3.6.1",
"3.6.10",
"3.6.11",
"3.6.12",
"3.6.2",
"3.6.3",
"3.6.4",
"3.6.5",
"3.6.6",
"3.6.7",
"3.6.8",
"3.6.9",
"3.7.0",
"3.7.1",
"3.7.2",
"3.7.3",
"3.7.4",
"3.7.5",
"3.8.0",
"3.8.1",
"3.8.2",
"3.8.3",
"3.8.4",
"3.9.0",
"3.9.1",
"3.9.10",
"3.9.11",
"3.9.2",
"3.9.3",
"3.9.4",
"3.9.5",
"3.9.6",
"3.9.7",
"3.9.8",
"3.9.9",
"4.0.0",
"4.0.0-beta.1",
"4.0.0-beta.10",
"4.0.0-beta.11",
"4.0.0-beta.12",
"4.0.0-beta.13",
"4.0.0-beta.14",
"4.0.0-beta.15",
"4.0.0-beta.15.1",
"4.0.0-beta.16",
"4.0.0-beta.17",
"4.0.0-beta.18",
"4.0.0-beta.2",
"4.0.0-beta.3",
"4.0.0-beta.4",
"4.0.0-beta.5",
"4.0.0-beta.6",
"4.0.0-beta.7",
"4.0.0-beta.8",
"4.0.0-beta.9",
"4.0.1",
"4.0.10",
"4.0.11",
"4.0.12",
"4.0.13",
"4.0.14",
"4.0.15",
"4.0.16",
"4.0.17",
"4.0.18",
"4.0.19",
"4.0.2",
"4.0.20",
"4.0.21",
"4.0.22",
"4.0.23",
"4.0.24",
"4.0.24.1",
"4.0.25",
"4.0.26",
"4.0.3",
"4.0.4",
"4.0.5",
"4.0.6",
"4.0.7",
"4.0.8",
"4.0.9",
"4.1.0",
"4.1.1",
"4.1.10",
"4.1.11",
"4.1.12",
"4.1.12.1",
"4.1.13",
"4.1.14",
"4.1.15",
"4.1.15.1",
"4.1.16",
"4.1.17",
"4.1.18",
"4.1.19",
"4.1.2",
"4.1.20",
"4.1.21",
"4.1.22",
"4.1.23",
"4.1.24",
"4.1.25",
"4.1.26",
"4.1.27",
"4.1.28",
"4.1.29",
"4.1.3",
"4.1.4",
"4.1.5",
"4.1.6",
"4.1.7",
"4.1.8",
"4.1.9"
]
}References
- https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj
- https://github.com/solspace/craft-freeform/security/advisories/GHSA-58q2-9x27-h2jm
- https://github.com/axios/axios/pull/7011
- https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593
- https://github.com/solspace/craft-freeform/commit/e7402a1d1ce9f28ecb6ce659885ac66391d3a040
- https://github.com/axios/axios/releases/tag/v1.12.0
- https://github.com/solspace/craft-freeform
- https://github.com/solspace/craft-freeform/releases/tag/v4.1.30