# Potential Code Injection in Sprout Forms

Advisory record · `GHSA-px8v-hxxx-2rgh`

- **Identifiers:** `GHSA-px8v-hxxx-2rgh` · `CVE-2020-11056` · `PKSA-4bf7-w4k8-wp83` · `PKSA-pvgd-7x8j-gztc`
- **State:** Confirmed
- **Severity:** CVSS 7.4 High
- **Critical:** No
- **Weakness (CWE):** [CWE-74](https://cwe.mitre.org/data/definitions/74.html) · [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md) · [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 8 May 2020
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 May 2020, 21:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `barrelstrength/sprout-base-email` (Packagist): affected `<1.2.7`; fixed in `1.2.7`
- `barrelstrength/sprout-forms` (Packagist): affected `<3.9.0`; fixed in `3.9.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Packagist packages barrelstrength/sprout-forms (versions before 3.9.0) and barrelstrength/sprout-base-email (versions before 1.2.7) are affected by a potential Server-Side Template Injection that could lead to execution of Twig code. The source does not describe what an attacker must already have or do to trigger it. Upgrade sprout-forms to 3.9.0 and sprout-base-email to 1.2.7; users who cannot upgrade should switch Notification Emails to the "Basic Notification (Sprout Email)" template and avoid the "Basic Notification (Sprout Forms)" template or custom templates that display Form Fields.

Written 31 Oct 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.4 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.010, the 64th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:05 UTC: First seen by agentprime
- 31 Oct 2026, 14:05 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-px8v-hxxx-2rgh)

## Sources

- [GitHub Advisory Database: GHSA-px8v-hxxx-2rgh](https://github.com/advisories/GHSA-px8v-hxxx-2rgh)
- [OSV: GHSA-px8v-hxxx-2rgh](https://osv.dev/vulnerability/GHSA-px8v-hxxx-2rgh)
- <https://github.com/barrelstrength/craft-sprout-forms/security/advisories/GHSA-px8v-hxxx-2rgh>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-11056>
- <https://github.com/barrelstrength/craft-sprout-base-email/commit/5ef759f4713ede6dbf77c9d9df9f992876e43a49>
- <https://github.com/barrelstrength/craft-sprout-forms/blob/v3/CHANGELOG.md#390---2020-04-09-critical>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-px8v-hxxx-2rgh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-px8v-hxxx-2rgh/>. Everything for agents: <https://agentprime.io/llms.txt>.
