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

Published Aug 27, 2025
·
Updated

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

Other sources

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

— Packagist

Affected Software

4 affected componentsFixes available
CraftCMS Freeform>=5.0.0<5.10.16
composer/solspace/craft-freeform>=5.0.0<5.10.16
5.10.16
Solspace Freeform Craft Cms>=5.0.0<5.10.16
composer/solspace/craft-freeform>=5.0.0, <5.10.16
5.10.16

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/solspace/craft-freeform to a version that resolves this vulnerability.

    Fixed in 5.10.16

Event History

Jun 6, 2025
Exploit Published
via GitHub·09:35 AM
Aug 27, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·03:33 PM
Data Sourced
via GitHub·03:33 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·03:33 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-52122?

CVE-2025-52122 is a high severity vulnerability due to its potential for arbitrary code injection.

2

How do I fix CVE-2025-52122?

To fix CVE-2025-52122, update the CraftCMS Freeform plugin to version 5.10.16 or later.

3

Who is affected by CVE-2025-52122?

All users with access to editing form submission titles in Freeform versions 5.0.0 to before 5.10.16 are affected by CVE-2025-52122.

4

What type of vulnerability is CVE-2025-52122?

CVE-2025-52122 is classified as a Server-side Template Injection (SSTI) vulnerability.

5

Can CVE-2025-52122 be exploited remotely?

Yes, CVE-2025-52122 can be exploited remotely by any user with access to the form editing functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203