GitHub Advisoryadvisory · Packagist

GHSA-px8v-hxxx-2rgh Potential Code Injection in Sprout Forms

CRITICAL Published 2020-05-08 Modified 2021-10-27 Official page ↗
Aliases
CVE-2020-11056
Ecosystem
Packagist
Packages
barrelstrength/sprout-base-email, barrelstrength/sprout-forms
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Weaknesses
CWE-74, CWE-94
Reviewed
2020-05-08

Affected packages

• Packagist barrelstrength/sprout-base-email: < 1.2.7 → fixed in 1.2.7 • Packagist barrelstrength/sprout-forms: < 3.9.0 → fixed in 3.9.0

Description

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 in`barrelstrength/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]

Related

Alias · CVE (1)

  • CVE-2020-11056 In Sprout Forms before 3.9.0, there is a potential Server-Side Template Injection vulnerability when using custom fields in Notification… vulnerability

Weakness · CWE (2)

  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
  • CWE-94 Improper Control of Generation of Code weakness

References