Skip to content
Heist/ feed
Back to feed
Medium

Solspace Freeform: Limited Twig template injection via submitted field values

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-73858
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 03:30 UTC · Revision 1

Source evidence

Solspace Freeform: Limited Twig template injection via submitted field values

core-osv · Original source

Published 23 Sept 2026, 14:30 UTC

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.

osv:CVE-2026-73858
Complete source record
{
  "id": "f6fe12d5a79b8ac2252cfdcb9df18aebf55c4c4c00065f15815246e92b042998",
  "url": "https://osv.dev/vulnerability/CVE-2026-73858",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Solspace Freeform: Limited Twig template injection via submitted field values",
    "summary": "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.",
    "evidence": "osv:CVE-2026-73858",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-73858",
      "aliases": [
        "CVE-2026-73858",
        "GHSA-gxrg-x694-283w"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/solspace/craft-freeform",
              "type": "GIT",
              "events": [
                {
                  "introduced": "22d6414549c8166f20d1ea7a805b3af23b608eb8"
                },
                {
                  "fixed": "d0c0da40ae34b9e0963d9c7a3e7ba0f0fc6bbdf0"
                },
                {
                  "fixed": "5f7555320635f1cd3b4c478aa0b58e8c3144313b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "5.0.0"
                      },
                      {
                        "fixed": "5.10.14"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5f7555320635f1cd3b4c478aa0b58e8c3144313b"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d0c0da40ae34b9e0963d9c7a3e7ba0f0fc6bbdf0"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v5.10.14"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.10.13",
            "v5.10.12",
            "v5.10.11",
            "v5.10.10",
            "v5.10.9",
            "v5.10.8",
            "v5.10.7",
            "v5.10.6",
            "v5.10.5",
            "v5.10.4",
            "v5.10.3",
            "v5.10.2",
            "v5.10.1",
            "v5.10.0",
            "v5.9.16.1",
            "v5.9.16",
            "v5.9.15",
            "v5.9.14",
            "v5.9.13",
            "v5.9.12",
            "v5.9.11",
            "v5.9.10",
            "v5.9.9",
            "v5.9.8",
            "v5.9.7",
            "v5.9.6",
            "v5.9.5",
            "v5.9.4",
            "v5.9.3",
            "v5.9.2",
            "v5.9.1.2",
            "v5.9.1.1",
            "v5.9.1",
            "v5.9.0",
            "v5.8.7",
            "v5.8.6",
            "v5.8.5",
            "v5.8.4",
            "v5.8.3",
            "v5.8.2",
            "v5.8.1",
            "v5.8.0",
            "v5.7.4",
            "v5.7.3",
            "v5.7.2",
            "v5.7.1",
            "v5.7.0.1",
            "v5.7.0",
            "v5.6.8",
            "v5.6.6",
            "v5.6.7",
            "v5.6.5",
            "v5.6.4",
            "v5.6.3",
            "v5.6.2",
            "v5.6.1",
            "v5.5.10",
            "v5.5.9",
            "v5.5.8",
            "v5.5.7",
            "v5.5.6",
            "v5.5.5",
            "v5.5.4",
            "v5.5.3",
            "v5.5.2",
            "v5.5.1",
            "v5.5.0",
            "v5.4.2",
            "v5.4.1",
            "v5.4.0",
            "v5.3.5",
            "v5.3.4",
            "v5.3.3.1",
            "v5.3.3",
            "v5.3.2",
            "v5.3.1",
            "v5.3.0",
            "v5.2.2",
            "v5.2.1",
            "v5.2.0",
            "v5.1.19.1",
            "v5.1.19",
            "v5.1.18.1",
            "v5.1.18",
            "v5.1.17",
            "v5.1.16.1",
            "v5.1.16",
            "v5.1.15",
            "v5.1.14",
            "v5.1.13.1",
            "v5.1.13",
            "v5.1.12",
            "v5.1.11",
            "v5.1.10",
            "v5.1.9",
            "v5.1.8",
            "v5.1.7",
            "v5.1.6",
            "v5.1.5.1",
            "v5.1.5",
            "v5.1.4",
            "v5.1.3",
            "v5.1.2",
            "v5.1.1",
            "v5.1.0",
            "v5.0.16",
            "v5.0.15",
            "v5.0.14.1",
            "v5.0.13",
            "v5.0.14",
            "v5.0.12",
            "v5.0.11",
            "v5.0.10",
            "v5.0.9",
            "v5.0.8",
            "v5.0.7",
            "v5.0.6.1",
            "v5.0.6",
            "v5.0.5",
            "v5.0.4",
            "v5.0.3",
            "v5.0.2",
            "v5.0.1",
            "v5.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73858.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:53.239430751Z",
      "provider": "osv",
      "references": [
        "https://github.com/solspace/craft-freeform/releases/tag/v5.10.14",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73858.json",
        "https://github.com/solspace/craft-freeform/security/advisories/GHSA-gxrg-x694-283w",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-73858",
        "https://github.com/solspace/craft-freeform/commit/5f7555320635f1cd3b4c478aa0b58e8c3144313b",
        "https://github.com/solspace/craft-freeform/pull/1986"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1336"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73858.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-73858",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 522224,
  "published_at": "2026-09-23T14:30:22.968+00:00"
}