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

CVE-2026-73858: Solspace Freeform: Limited Twig template injection via submitted field values

September 23, 2026

A limited server-side Twig template injection issue was identified in Solspace Freeform for Craft CMS. In affected versions, submitted form field values could be evaluated as Twig in certain rendering contexts.

Unauthenticated users could submit Twig expressions through public Freeform forms and have those expressions evaluated when the submitted values were rendered back into the form response. Confirmed impact includes disclosure of limited server/environment information, such as the PHP version and absolute filesystem paths.

No evidence was found that this issue allowed access to Craft globals, environment variables, database credentials, mailer credentials, security keys, or remote code execution in the tested environment.

References

  • github.com/advisories/GHSA-gxrg-x694-283w
  • github.com/solspace/craft-freeform/commit/5f7555320635f1cd3b4c478aa0b58e8c3144313b
  • github.com/solspace/craft-freeform/pull/1986
  • github.com/solspace/craft-freeform/releases/tag/v5.10.14
  • github.com/solspace/craft-freeform/security/advisories/GHSA-gxrg-x694-283w
  • nvd.nist.gov/vuln/detail/CVE-2026-73858

Code Behaviors & Features

Detect and mitigate CVE-2026-73858 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0 before 5.10.14

Fixed versions

  • 5.10.14

Solution

Upgrade to version 5.10.14 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine

Source file

packagist/solspace/craft-freeform/CVE-2026-73858.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Thu, 24 Sep 2026 12:24:07 +0000.