Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. solspace/craft-freeform
  4. ›
  5. CVE-2025-52122

CVE-2025-52122: The Freeform CraftCMS plugin contains an Server-side template injection (SSTI) vulnerability

August 27, 2025

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).

References

  • github.com/TimTrademark/CVE-2025-52122
  • github.com/TimTrademark/CVE-CraftCMS-Freeform
  • github.com/advisories/GHSA-9hp3-f5g8-rccg
  • github.com/solspace/craft-freeform
  • nvd.nist.gov/vuln/detail/CVE-2025-52122

Code Behaviors & Features

Detect and mitigate CVE-2025-52122 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 5.0.0 before 5.10.16

Fixed versions

  • 5.10.16

Solution

Upgrade to version 5.10.16 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/solspace/craft-freeform/CVE-2025-52122.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:16 +0000.