{"id":"CVE-2020-11056","published":"2020-05-07T20:50:12Z","modified":"2024-08-04T11:21:14Z","title":"Potential Code Injection in Sprout Forms","vendor":"barrelstrength","product":"Sprout Forms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01029,"percentile":0.64498,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/barrelstrength/craft-sprout-forms/security/advisories/GHSA-px8v-hxxx-2rgh","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/barrelstrength/craft-sprout-forms/blob/v3/CHANGELOG.md#390---2020-04-09-critical","tags":["x_refsource_MISC"]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":12.9},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"barrelstrength","affectedVersions":[{"vendor":"barrelstrength","product":"Sprout Forms","versions":["< 3.9.0"]}],"affected":[{"ecosystem":"Packagist","package":"barrelstrength/sprout-base-email","vulnerableRanges":["<1.2.7"],"patched":["1.2.7"],"from":["GHSA-px8v-hxxx-2rgh"],"provenance":"source"},{"ecosystem":"Packagist","package":"barrelstrength/sprout-forms","vulnerableRanges":["<3.9.0"],"patched":["3.9.0"],"from":["GHSA-px8v-hxxx-2rgh"],"provenance":"source"}],"summary":{"text":"The flaw is a potential Server-Side Template Injection in the Sprout Forms product from barrelstrength, specifically in how custom fields are handled within its Notification Emails feature. An attacker who can influence those custom field values could cause Twig template code to execute on the server. The attack requires network access and a low-privilege account, with no user interaction needed. Exploitation depends on the site using custom fields in Notification Emails, and the vulnerability affects Sprout Forms versions before 3.9.0.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:33Z"},"euvd":{"id":"EUVD-2020-0435","exploited":false,"provenance":"source"}}