{"id":"CVE-2020-11056","aliases":["CVE-2020-11056","GHSA-px8v-hxxx-2rgh"],"related":[],"kind":"vulnerability","state":"published","title":"Potential Code Injection in Sprout Forms","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA potential Server-Side Template Injection vulnerability exists in Sprout Forms which could lead to the execution of Twig code.\n\n### Patches\n\nThe problem is fixed in`barrelstrength/sprout-forms:v3.9.0` which upgrades to `barrelstrength/sprout-base-email:v1.2.7`\n\n### Workarounds\n\nUsers 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.\n\n### References\n\n- See the release notes in the [CHANGELOG](https://github.com/barrelstrength/craft-sprout-forms/blob/v3/CHANGELOG.md#390---2020-04-09-critical)\n- Credits to Paweł Hałdrzyński, Daniel Kalinowski from [ISEC.PL](https://isec.pl/) for discovery and responsible disclosure\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in the [Sprout Forms repo](https://github.com/barrelstrength/craft-sprout-forms/issues)\n* Email us at [sprout@barrelstrengthdesign.com](mailto:sprout@barrelstrengthdesign.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"En Sprout Forms versiones anteriores a 3.9.0, se presenta una vulnerabilidad de tipo Server-Side Template Injection potencial cuando se usan campos personalizados en Notification Emails que podría conllevar a una ejecución del código Twig. Esto ha sido corregido en la versión  3.9.0.","source":"nvd"}],"published":"2020-05-07T20:50:12.000Z","modified":"2026-09-10T03:48:46.628Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","score":7.4,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-74","CWE-94"],"affected":[{"ranges":[{"version":"< 3.9.0","status":"affected"}],"vendor":"barrelstrength","product":"Sprout Forms","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.2.7"}],"ecosystem":"Packagist","package":"barrelstrength/sprout-base-email","purl":"pkg:composer/barrelstrength/sprout-base-email","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.9.0"}],"ecosystem":"Packagist","package":"barrelstrength/sprout-forms","purl":"pkg:composer/barrelstrength/sprout-forms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.9.0"}],"vendor":"barrelstrengthdesign","product":"sprout_forms","cpe":"cpe:2.3:a:barrelstrengthdesign:sprout_forms:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/barrelstrength/craft-sprout-forms/security/advisories/GHSA-px8v-hxxx-2rgh","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/barrelstrength/craft-sprout-forms/blob/v3/CHANGELOG.md#390---2020-04-09-critical","tags":["release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11056","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/barrelstrength/craft-sprout-base-email/commit/5ef759f4713ede6dbf77c9d9df9f992876e43a49","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-11056","url":"https://www.cve.org/CVERecord?id=CVE-2020-11056","licence":"CVE Terms of Use","modified":"2024-08-04T11:21:14.644Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-px8v-hxxx-2rgh","url":"https://github.com/advisories/GHSA-px8v-hxxx-2rgh","licence":"CC-BY-4.0","modified":"2026-09-10T03:48:46.628Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-11056","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11056","licence":"Public domain","modified":"2026-06-17T02:48:57.557Z"}],"updatedAt":"2026-11-25T22:57:52.341Z","epss":{"score":0.01029,"percentile":0.64635,"date":"2026-12-01T12:00:22.000Z"}}