{"id":"GHSA-58q2-9x27-h2jm","aliases":["GHSA-58q2-9x27-h2jm"],"related":[],"kind":"vulnerability","state":"published","title":"solspace/craft-freeform Has a DoS Vulnerability","summary":"### 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","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"}],"published":"2026-01-15T20:12:25.000Z","modified":"2026-02-03T03:17:25.923Z","severity":{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.30"}],"ecosystem":"Packagist","package":"solspace/craft-freeform","purl":"pkg:composer/solspace/craft-freeform","source":"ghsa"}],"references":[{"url":"https://github.com/axios/axios/security/advisories/GHSA-4hjh-wcwx-xvwj","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/solspace/craft-freeform/security/advisories/GHSA-58q2-9x27-h2jm","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/pull/7011","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/commit/945435fc51467303768202250debb8d4ae892593","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/solspace/craft-freeform/commit/e7402a1d1ce9f28ecb6ce659885ac66391d3a040","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/axios/axios/releases/tag/v1.12.0","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/solspace/craft-freeform","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/solspace/craft-freeform/releases/tag/v4.1.30","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-58q2-9x27-h2jm","url":"https://github.com/advisories/GHSA-58q2-9x27-h2jm","licence":"CC-BY-4.0","modified":"2026-02-03T03:17:25.923Z"}],"updatedAt":"2026-11-25T22:56:31.155Z"}