CVE-2025-52122

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…

Critical · published August 27, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
48.5
In the wild
Unconfirmed
What it is

🚨 A sneaky server-side template injection lurks in CraftCMS's Freeform plugin, granting all form editors the keys to the kingdom! 🔥 Think of it like a restaurant where the chef takes orders but can also rewrite any recipe without oversight — suddenly, everyone's meals could be served with a secret ingredient you didn't ask for! This vulnerability allows an attacker with form editing access to inject and execute arbitrary code, leading to a complete compromise of the server. Picture this: an attacker could manipulate the server to unleash malware or exfiltrate sensitive data, turning your site into a hacker's playground. Absolutely devastating!

Put simply

Think of it like a restaurant where the chef takes orders but can also rewrite any recipe without oversight — suddenly, everyone's meals could be served with a secret ingredient you didn't ask for! The Server-side template injection (SSTI) vulnerability in Freeform versions from 5.0.0 to just before 5.10.16 allows users with form editing permissions to execute arbitrary code on the server by manipulating template variables in the form submission title.

What to do

This vulnerability allows an attacker with form editing access to inject and execute arbitrary code, leading to a complete compromise of the server. Picture this: an attacker could manipulate the server to unleash malware or exfiltrate sensitive data, turning your site into a hacker's playground. Absolutely devastating! Immediately upgrade to Freeform version 5.10.16 or later to close this vulnerability. Review user permissions to ensure that only trusted users have form editing access, and consider conducting a security audit to check for other potential vulnerabilities. 🛡️ You've got this! Fixing this vulnerability is just a version upgrade away, and you can secure your CraftCMS site in no time! 🚀

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00610 · 48.5th percentile
Published
2025-08-27T00:00Z
EPSS history
Timeline
  • 27 AUG 00:00Z
    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…
    cvelistv5