CVE-2025-52122: CraftCMS Freeform - Server-Side Template Injection
- Cve: CVE-2025-52122
- Name: CraftCMS Freeform - Server-Side Template Injection
- Description: 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).
- Impact: Users with form editing access can inject arbitrary code, potentially leading to full system compromise.
- Remediation: Upgrade to version 5.10.16 or later.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must have access to edit forms
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00647
- Epss percentile: 0.51766
- Assignee: [email protected]
- Published at: 2025-08-27T15:15:39Z
- Age in days: 454
- Modified at: 2026-06-17T09:36:00Z
- Patch available: yes
- Public exploits total: 2
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-52122
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/TimTrademark/CVE-2025-52122 | nvd | 2025-08-27 |
| https://github.com/TimTrademark/CVE-CraftCMS-Freeform | nvd | 2025-08-27 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/TimTrademark/CVE-2025-52122 | nvd | Exploit, Third Party Advisory |
| https://github.com/TimTrademark/CVE-CraftCMS-Freeform | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| solspace:freeform | >= 5.0.0, < 5.10.16 | no | nvd | /v1/products/solspace/freeform |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| solspace/craft-freeform | package | yes | /v1/repositories/solspace/craft-freeform |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2025-08-27
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts