CVE-2025-52122: The Freeform CraftCMS plugin contains an Server-side template injection (SSTI) vulnerability
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).
Other sources
The Freeform CraftCMS plugin contains an Server-side template injection (SSTI) vulnerability
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/solspace/craft-freeformto a version that resolves this vulnerability.Fixed in 5.10.16
Event History
Frequently Asked Questions
What is the severity of CVE-2025-52122?
CVE-2025-52122 is a high severity vulnerability due to its potential for arbitrary code injection.
How do I fix CVE-2025-52122?
To fix CVE-2025-52122, update the CraftCMS Freeform plugin to version 5.10.16 or later.
Who is affected by CVE-2025-52122?
All users with access to editing form submission titles in Freeform versions 5.0.0 to before 5.10.16 are affected by CVE-2025-52122.
What type of vulnerability is CVE-2025-52122?
CVE-2025-52122 is classified as a Server-side Template Injection (SSTI) vulnerability.
Can CVE-2025-52122 be exploited remotely?
Yes, CVE-2025-52122 can be exploited remotely by any user with access to the form editing functionality.