Skip to main content

Solspace Freeform CVE-2026-73858

| EUVDEUVD-2026-85334 MEDIUM
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-09-23 GitHub_M GHSA-gxrg-x694-283w
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Locate public Freeform form
  2. Delivery
    Inject Twig constant() payload in field value
  3. Exploit
    Isolated renderer evaluates expression in attribute
  4. Execution
    Server reflects evaluated value in response
  5. Impact
    Harvest PHP version and filesystem paths

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

No authentication or user interaction required - the attacker only needs a reachable public Freeform form on a Craft CMS 5.x site running Freeform 5.0.0 through 5.10.13. Exploitation depends on submitted field values being rendered back into HTML attributes where the isolated Twig renderer evaluates them (the fix excludes the value, name, and id attributes from Twig rendering). Impact is LIMITED by the isolated Twig sandbox: only PHP/core constants (PHP_VERSION, PHP_OS) and Craft bootstrap path constants (CRAFT_BASE_PATH, CRAFT_VENDOR_PATH) are reachable - Craft globals, getenv(), alias(), database/mailer credentials, security/license keys, arbitrary file access, and code execution were not exposed in testing.

Impact

This is a genuine but low-severity issue that CVSS 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) captures accurately: unauthenticated, network-reachable, low-complexity, but confined to limited confidentiality impact with no integrity or availability effect. The CWE-1336 (server-side template injection) classification would normally raise RCE concerns, but both the vendor advisory (GHSA-gxrg-x694-283w) and testing explicitly confirm the isolated Twig context did NOT expose Craft globals, environment variables, database/mailer credentials, security/license keys, arbitrary files, or code execution - only PHP/core constants and Craft bootstrap path constants. So this is a case where the SSTI class label overstates real risk: confirmed impact is server/environment information disclosure (PHP version, OS, absolute filesystem paths). No EPSS score is provided and it is not in CISA KEV, so no signal of widespread or active exploitation exists - treat as 'no public exploit weaponized' despite the advisory containing a working proof-of-concept. A publicly documented PoC lowers the barrier to opportunistic scanning, but the low-value payoff (path/version disclosure, useful mainly for reconnaissance) makes this a moderate-priority patch rather than an emergency. The 'RCE' tag in the input is contradicted by the vendor's own testing and should not drive prioritization.

Exploit ScenarioDerived

An unauthenticated attacker locates a public Freeform form on a Craft CMS site and submits a field value containing a Twig expression such as {{ constant('CRAFT_VENDOR_PATH') }} or {{ constant('PHP_VERSION') }}@example.com. When the submitted value is reflected back into an HTML attribute (e.g. value="..."), the isolated Twig renderer evaluates it and the response leaks the server's PHP version, OS, or absolute filesystem paths. A working proof-of-concept is published in the GHSA advisory, but the disclosed data is limited to reconnaissance-grade server/environment information rather than credentials or code execution.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 23, 2026

Server-side Twig template injection in Solspace Freeform 5.0.0 through 5.10.13 for Craft CMS 5.x lets unauthenticated attackers submit Twig expressions through public forms that are evaluated by Freeform's isolated Twig renderer when field values are rendered back into HTML attributes (the vendor fix excludes the value, name, and id attributes from rendering). Confirmed impact is limited to disclosure of PHP/core and Craft bootstrap constants such as PHP_VERSION, PHP_OS, CRAFT_BASE_PATH, and CRAFT_VENDOR_PATH, plus possible form rendering errors from malformed Twig; no access to Craft globals, getenv(), alias(), database or mailer credentials, security/license keys, arbitrary files, or code execution was demonstrated in testing. Publicly available exploit code exists in the form of one-line payloads published in the vendor's GitHub security advisory (e.g. {{ constant('PHP_VERSION') }}@example.com), but there is no evidence of confirmed active exploitation (not listed in CISA KEV); CVSS 5.3 and the advisory's isolated-sandbox findings indicate low severity.

RemediationAI

Upgrade Solspace Freeform to 5.10.14, which is the vendor-released fix and the version that stops Twig evaluation for the value, name, and id HTML attributes (implemented in PR #1986 / commit 5f7555320635f1cd3b4c478aa0b58e8c3144313b); update the composer/solspace/craft-freeform constraint to >= 5.10.14, run composer update, and verify the installed version, using the release page at https://github.com/solspace/craft-freeform/releases/tag/v5.10.14 and the advisory at https://github.com/solspace/craft-freeform/security/advisories/GHSA-gxrg-x694-283w as references. If immediate patching is not possible, compensating controls include removing, disabling, or unpublishing public Freeform forms and restricting submissions to authenticated users (which eliminates the unauthenticated attack vector but removes public form functionality), and deploying WAF or reverse-proxy rules that reject form POST bodies containing Twig delimiters such as {{, }}, or the constant( function (which blocks the known payloads but can produce false positives on legitimate developer-oriented content and is not a substitute for the patch). Because the only confirmed impact is limited information disclosure of PHP/platform versions and absolute filesystem paths, these strings should be treated as low-sensitivity but still worth suppressing in error output; note that no mitigation is needed for the non-issues the advisory could not confirm (credential, environment variable, or code-execution exposure), and no vendor workaround other than upgrading is documented.

Affected VersionsENISA

craft-freeform 5.0.0, < 5.10.14

Affected Packages

composer solspace/craft-freeform fix: 5.10.14
euvd craft_freeform_5_0_0 fix: 5.10.14

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in composer, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Solspace Freeform is a Craft CMS form-building plugin distributed via Composer as composer/solspace/craft-freeform (CPE cpe:2.3:a:solspace:craft-freeform:*:*:*:*:*:*:*:*, affected range >= 5.0.0, <= 5.10.13). The root cause is CWE-1336, improper neutralization of special elements used in a template engine: user-controlled submitted field values were passed to Freeform's isolated Twig renderer inside Attributes::toHtmlTagArray(), so Twig delimiters embedded in a submitted value were compiled and evaluated server-side and the result was reflected into the HTTP response within HTML attributes such as value. Because the plugin uses an isolated Twig environment rather than the full Craft rendering context, the reachable surface is restricted to constants accessible through the constant() function - notably PHP_VERSION, PHP_OS, CRAFT_BASE_PATH, and CRAFT_VENDOR_PATH. Testing did not confirm reachability of the craft or craft.app service locator, alias(), getenv(), environment variables, database or mailer credentials, or the Craft security and license keys, and no code-execution primitive was found. The upstream patch (PR #1986, commit 5f7555320635f1cd3b4c478aa0b58e8c3144313b) adds an EXCLUDED_TWIG_ATTRIBUTES constant of ['value', 'name', 'id'] and skips Twig rendering for those keys, closing the attribute-reflection vector. The presence of 'RCE' and 'SSTI' in community tags reflects the vulnerability class rather than a demonstrated code-execution impact, which the authoritative assessment does not confirm.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 5.3 MEDIUM

Unauthenticated remote form submission (AV:N/AC:L/PR:N/UI:N) evaluates Twig but sandbox limits disclosure to server/path constants (C:L), with no confirmed integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Sep 23, 2026 - 16:02 EUVD

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Low
most popular form plugin, but within niche Craft CMS ecosystem
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy