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

Source: https://junglewise.ai/threats/cve-2025-52122-the-freeform-craftcms-plugin-contains-an-server-side-template  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-08-27  
License: CC BY 4.0 with a link back

CVE-2025-52122 · Severity: low · CVSS 3.1 · Published 2025-08-27

The Freeform CraftCMS plugin contains an Server-side template injection (SSTI) vulnerability

Technologies: [solspace/craft-freeform (Packagist)](https://junglewise.ai/threats/technologies/solspace-craft-freeform). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2025-52122 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-52122 being exploited in the wild.

**How severe is CVE-2025-52122?** Low severity, with a CVSS score of 3.1, published 27 August 2025.

**Which products and versions are affected?** solspace/craft-freeform (Packagist) ECOSYSTEM:introduced=5.0.0,fixed=5.10.16.

**Is there a fix for CVE-2025-52122?** Yes. solspace/craft-freeform (Packagist): upgrade to 5.10.16 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-52122?** Check whether you run solspace/craft-freeform (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- solspace/craft-freeform (Packagist): upgrade to 5.10.16 or later

  ```sh
  composer require solspace/craft-freeform:^5.10.16
  ```


## Affected products

- solspace/craft-freeform (Packagist) ECOSYSTEM:introduced=5.0.0,fixed=5.10.16

## Identifiers

- CVE-2025-52122
- GHSA-9hp3-f5g8-rccg

## Related threats

- [Solspace Freeform Twig template injection via form field values](https://junglewise.ai/threats/cve-2026-73858-solspace-freeform-twig-template-injection-via-form-field-values)
- [Freeform Craft Plugin CP UI (builder/integrations) has Stored Cross-Site Scripting (XSS) issue](https://junglewise.ai/threats/cve-2026-26188-freeform-craft-plugin-cp-ui-builder-integrations-has-stored-cross)
- [solspace/craft-freeform Exposed to Known Axios Vulnerabilities via Precompiled Assets](https://junglewise.ai/threats/solspace-craft-freeform-exposed-to-known-axios-vulnerabilities-via-4729a168)
- [solspace/craft-freeform Vulnerable to XSS in `PhpSpreadsheet` HTML Writer Due to Unsanitized Styling Data](https://junglewise.ai/threats/solspace-craft-freeform-vulnerable-to-xss-in-phpspreadsheet-html-writer-91c20d91)
- [solspace/craft-freeform Has a DoS Vulnerability](https://junglewise.ai/threats/solspace-craft-freeform-has-a-dos-vulnerability-b273aed2)
