Vulnerability · Published Sep 23, 2026 · Assigned by GitHub_M
CVE-2026-73858Solspace Freeform: Limited Twig template injection via submitted field values
Medium 5.3
In plain English
A medium-severity security flaw in craft-freeform from solspace. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Solspace Freeform plugin for Craft CMS 5.x is a super flexible form-building tool. From 5.0.0 through 5.10.13, submitted values from public Freeform forms can be evaluated by the isolated Twig renderer when rendered into HTML attributes. An unauthenticated attacker can place Twig expressions in submitted field values, including value attributes, and receive evaluated PHP, operating-system, or Craft filesystem-path constants in the form response. The isolated context was not shown to expose Craft globals, environment variables, credentials, arbitrary files, or code execution, so the confirmed impact is limited server and environment information disclosure and possible rendering errors. This issue is fixed in version 5.10.14.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | solspace/craft-freeform | 5.10.14 | GHSA-gxrg-x694-283w |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| solspace | craft-freeform | >= 5.0.0, < 5.10.14 |
Weakness: CWE-1336 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/solspace/craft-freeform/security/advisories/GHSA-gxrg-x694-283w x_refsource_CONFIRM
- https://github.com/solspace/craft-freeform/pull/1986 x_refsource_MISC
- https://github.com/solspace/craft-freeform/commit/5f7555320635f1cd3b4c478aa0b58e8c3144313b x_refsource_MISC
- https://github.com/solspace/craft-freeform/releases/tag/v5.10.14 x_refsource_MISC