CVE-2020-11056
Potential Code Injection in Sprout Forms
In Sprout Forms before 3.9.0, there is a potential Server-Side Template Injection vulnerability when using custom fields in Notification Emails which could lead to the execution of Twig code. This has been fixed in 3.9.0.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
7.4
Potential Code Injection in Sprout Forms
In Sprout Forms before 3.9.0, there is a potential Server-Side Template Injection vulnerability when using custom fields in Notification Emails which could lead to the execution of Twig code. This has been fixed in 3.9.0.
- Record
CVE-2020-11056- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-94
- Updated
- 2026-11-02
EUVDEUVD-2020-0435
7.4
In Sprout Forms before 3.9.0, there is a potential Server-Side Template Injection vulnerability when using custom fields in Notification Emails which could lead to the execution of Twig code. This has been fixed in 3.9.0.
- Record
EUVD-2020-0435- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-px8v-hxxx-2rgh
7.4
Potential Code Injection in Sprout Forms
Impact
A potential Server-Side Template Injection vulnerability exists in Sprout Forms which could lead to the execution of Twig code.
Patches
The problem is fixed inbarrelstrength/sprout-forms:v3.9.0 which upgrades to barrelstrength/sprout-base-email:v1.2.7
Workarounds
Users unable to upgrade should update any Notification Emails to use the "Basic Notification (Sprout Email)" template and avoid using the "Basic Notification (Sprout Forms)" template or any custom templates that display Form Fields.
References
- See the release notes in the CHANGELOG
- Credits to Paweł Hałdrzyński, Daniel Kalinowski from ISEC.PL for discovery and responsible disclosure
For more information
If you have any questions or comments about this advisory:
- Open an issue in the Sprout Forms repo
- Email us at [email protected]
- Record
GHSA-px8v-hxxx-2rgh- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-74, CWE-94
- Updated
- 2026-11-02
NVD
7.4
In Sprout Forms before 3.9.0, there is a potential Server-Side Template Injection vulnerability when using custom fields in Notification Emails which could lead to the execution of Twig code. This has been fixed in 3.9.0.
- Record
CVE-2020-11056- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L - CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - CVSS 2.0
- 6.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:P - Weakness
- CWE-94, CWE-74
- Updated
- 2026-11-02
OSV
6.3
In Sprout Forms before 3.9.0, there is a potential Server-Side Template Injection vulnerability when using custom fields in Notification Emails which could lead to the execution of Twig code. This has been fixed in 3.9.0.
- Record
CVE-2020-11056- CVSS 3.1
- 6.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVGHSA-px8v-hxxx-2rgh
7.4
Potential Code Injection in Sprout Forms
Impact
A potential Server-Side Template Injection vulnerability exists in Sprout Forms which could lead to the execution of Twig code.
Patches
The problem is fixed inbarrelstrength/sprout-forms:v3.9.0 which upgrades to barrelstrength/sprout-base-email:v1.2.7
Workarounds
Users unable to upgrade should update any Notification Emails to use the "Basic Notification (Sprout Email)" template and avoid using the "Basic Notification (Sprout Forms)" template or any custom templates that display Form Fields.
References
- See the release notes in the CHANGELOG
- Credits to Paweł Hałdrzyński, Daniel Kalinowski from ISEC.PL for discovery and responsible disclosure
For more information
If you have any questions or comments about this advisory:
- Open an issue in the Sprout Forms repo
- Email us at [email protected]
- Record
GHSA-px8v-hxxx-2rgh- CVSS 3.1
- 7.4 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L - Weakness
- CWE-74, CWE-94
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
barrelstrength/sprout-base-emailPackagist |
before 1.2.7 | 1.2.7 |
barrelstrength/sprout-formsPackagist |
before 3.9.0 | 3.9.0 |
barrelstrength/sprout-base-emailPackagist |
before 1.2.7, plus listed versions 1.0.01.0.11.0.31.0.41.0.5 Show 17 moreShow less1.0.61.0.71.0.81.0.91.1.01.1.11.1.21.1.31.1.51.1.61.2.01.2.11.2.21.2.31.2.41.2.51.2.6 |
1.2.7 |
barrelstrength/sprout-formsPackagist |
before 3.9.0, plus listed versions 3.0.03.0.0-beta.13.0.0-beta.103.0.0-beta.123.0.0-beta.13 Show 45 moreShow less3.0.0-beta.143.0.0-beta.153.0.0-beta.163.0.0-beta.173.0.0-beta.183.0.0-beta.23.0.0-beta.203.0.0-beta.213.0.0-beta.223.0.0-beta.243.0.0-beta.253.0.0-beta.263.0.0-beta.273.0.0-beta.283.0.0-beta.293.0.0-beta.33.0.0-beta.303.0.0-beta.313.0.0-beta.323.0.0-beta.333.0.0-beta.343.0.0-beta.353.0.0-beta.363.0.0-beta.373.0.0-beta.383.0.0-beta.393.0.0-beta.43.0.0-beta.403.0.0-beta.413.0.0-beta.423.0.0-beta.433.0.0-beta.443.0.0-beta.453.0.0-beta.463.0.0-beta.473.0.0-beta.483.0.0-beta.493.0.0-beta.53.0.0-beta.503.0.0-beta.513.0.0-beta.523.0.0-beta.533.0.0-beta.543.0.0-beta.553.0.0-beta.56 |
3.9.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-11056 is a high vulnerability (CVSS 7.4) in Barrelstrength Sprout Forms, published May 7, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.03%, the 63rd percentile. Fixed in barrelstrength/sprout-base-email 1.2.7.
References
github.com/barrelstrength/craft-sprout-forms/security/advisories/GHSA-px8v-hxxx-2rgh
github.com/barrelstrength/craft-sprout-forms/blob/v3/CHANGELOG.md
nvd.nist.gov/vuln/detail/CVE-2020-11056
github.com/barrelstrength/craft-sprout-base-email/commit/5ef759f4713ede6dbf77c9d9df9f992876e43a49
github.com/advisories/GHSA-px8v-hxxx-2rgh
Left out here: 53 versions. The JSON record has them.