Advisory

GHSA-px8v-hxxx-2rgh

Also known as: CVE-2020-11056

Summary

Potential Code Injection in Sprout Forms

Details

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 inbarrelstrength/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:

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2020-05-08 21:00 UTC
Modified
2026-09-10 03:48 UTC

Affected packages and fixes

barrelstrength/sprout-base-email

Packagist · All systems

Affected

  • introduced 0, fixed 1.2.7 (ecosystem)

Fixed versions

1.2.7

Fix

The export has no generic command for this ecosystem.

barrelstrength/sprout-forms

Packagist · All systems

Affected

  • introduced 0, fixed 3.9.0 (ecosystem)

Fixed versions

3.9.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences