CVE-2025-52122: Freeform 5.0.0 to before 5.10.16, a plugin for CraftCMS, contains an Server-side template injection (SSTI) vul
CVE-2025-52122 is a critical-severity flaw (CVSS 9.8) affecting freeform. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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).
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-52122?
freeform: upgrade to 5.10.16. Exact commands for each OS are on this page.
Is CVE-2025-52122 being exploited?
CVE-2025-52122 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-52122 affect?
CVE-2025-52122 affects freeform. Severity is critical (CVSS 9.8). 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).
How urgent is CVE-2025-52122?
Priority 57/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-26188 MEDIUM 5.4 UPGRADE Solspace Freeform plugin for Craft CMS 5.x is a super flexible form-building tool