{"id":"CVE-2025-52122","published":"2025-08-27T00:00:00Z","modified":"2025-08-27T14:40:07Z","title":"Freeform 5.0.0 to before 5.10.16, a plugin for CraftCMS, contains an Server-side template injection (SSTI)…","vendor":null,"product":null,"tier":"tail","description":{"text":"Freeform 5.0.0 to before 5.10.16, a plugin for CraftCMS, contains an Server-side template injection (SSTI) vulnerability, resulting in arbitrary code injection for all users that have access to editing a form (submission title).","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00647,"percentile":0.51964,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/TimTrademark/CVE-CraftCMS-Freeform","tags":[]},{"url":"https://github.com/TimTrademark/CVE-2025-52122","tags":[]}],"priority":{"score":22.3,"factors":[{"name":"EPSS percentile","points":10.39},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-06-06","earliestUrl":"https://github.com/TimTrademark/CVE-2025-52122","repos":[{"name":"TimTrademark/CVE-2025-52122","url":"https://github.com/TimTrademark/CVE-2025-52122","stars":0,"created":"2025-06-06"}]},"first":{"date":"2025-06-06","source":"PoC-in-GitHub","url":"https://github.com/TimTrademark/CVE-2025-52122"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-08-27T14:38:27.614877Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"solspace/craft-freeform","vulnerableRanges":[">=5.0.0, <5.10.16"],"patched":["5.10.16"],"from":["GHSA-9hp3-f5g8-rccg"],"provenance":"source"}],"summary":{"text":"Freeform, a CraftCMS plugin in versions 5.0.0 up to but not including 5.10.16, contains a server-side template injection flaw in its form submission title handling. An attacker who can edit a form's submission title, which requires only a user account with form-editing access, can inject template code that is executed by the server, leading to arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:36Z"},"euvd":{"id":"EUVD-2025-25900","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-73858","published":"2026-09-23","fixed":"5.10.14","kev":false},{"cve":"CVE-2025-52122","published":"2025-08-27","fixed":"5.10.16","kev":false},{"cve":"CVE-2026-26188","published":"2026-02-12","fixed":"5.14.7","kev":false,"link":{"from":"CVE-2025-52122","to":"CVE-2026-26188","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:solspace/craft-freeform","fromFixed":"5.10.16","toFixed":"5.14.7","daysApart":169}]}}],"package":"Packagist:solspace/craft-freeform"}}