GHSA-px8v-hxxx-2rgh

Suggest an improvement
Source
https://github.com/advisories/GHSA-px8v-hxxx-2rgh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/05/GHSA-px8v-hxxx-2rgh/GHSA-px8v-hxxx-2rgh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-px8v-hxxx-2rgh
Aliases
Published
2020-05-08T21:00:02Z
Modified
2023-11-08T04:02:04.272008Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
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:

Database specific
{
    "nvd_published_at": "2020-05-07T21:15:00Z",
    "github_reviewed_at": "2020-05-08T19:12:33Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-74",
        "CWE-94"
    ]
}
References

Affected packages

Packagist / barrelstrength/sprout-base-email

Package

Name
barrelstrength/sprout-base-email
Purl
pkg:composer/barrelstrength/sprout-base-email

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.7

Affected versions

1.*

1.0.0
1.0.1
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.5
1.1.6
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.2.5
1.2.6

Packagist / barrelstrength/sprout-forms

Package

Name
barrelstrength/sprout-forms
Purl
pkg:composer/barrelstrength/sprout-forms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.0

Affected versions

v0.*

v0.7.1

3.*

3.0.0-beta.1
3.0.0-beta.2
3.0.0-beta.3
3.0.0-beta.4
3.0.0-beta.5
3.0.0-beta.6
3.0.0-beta.7
3.0.0-beta.8
3.0.0-beta.9
3.0.0-beta.10
3.0.0-beta.12
3.0.0-beta.13
3.0.0-beta.14
3.0.0-beta.15
3.0.0-beta.16
3.0.0-beta.17
3.0.0-beta.18
3.0.0-beta.20
3.0.0-beta.21
3.0.0-beta.22
3.0.0-beta.24
3.0.0-beta.25
3.0.0-beta.26
3.0.0-beta.27
3.0.0-beta.28
3.0.0-beta.29
3.0.0-beta.30
3.0.0-beta.31
3.0.0-beta.32
3.0.0-beta.33
3.0.0-beta.34
3.0.0-beta.35
3.0.0-beta.36
3.0.0-beta.37
3.0.0-beta.38
3.0.0-beta.39
3.0.0-beta.40
3.0.0-beta.41
3.0.0-beta.42
3.0.0-beta.43
3.0.0-beta.44
3.0.0-beta.45
3.0.0-beta.46
3.0.0-beta.47
3.0.0-beta.48
3.0.0-beta.49
3.0.0-beta.50
3.0.0-beta.51
3.0.0-beta.52
3.0.0-beta.53
3.0.0-beta.54
3.0.0-beta.55
3.0.0-beta.56
3.0.0-beta.57
3.0.0
3.0.1
3.0.2
3.1.0
3.2.0
3.2.1
3.2.2
3.2.3
3.2.4
3.3.0
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.9
3.4.0
3.4.1
3.4.2
3.4.3
3.5.0
3.5.1
3.6.0
3.6.1
3.6.2
3.6.4
3.6.5
3.6.6
3.6.7
3.6.8
3.6.9
3.6.10
3.7.0
3.7.1.1
3.7.2
3.8.0
3.8.0.1
3.8.0.2
3.8.1
3.8.2
3.8.3
3.8.4
3.8.5
3.8.6
3.8.7
3.8.8