Skip to content

Prototype pollution in Snowboard framework

Low
bennothommo published GHSA-3fh5-q6fg-w28q Oct 26, 2022

Package

composer wintercms/winter (Composer)

Affected versions

1.1.8, 1.1.9, 1.2.0

Patched versions

1.1.10, 1.2.1

Description

Impact

The Snowboard framework in affected versions is vulnerable to prototype pollution in the main Snowboard class as well as its plugin loader. We have marked this as low severity as the Snowboard framework is not predominantly used yet and is not used in the administration panel, but it is important if you use Snowboard for your theme or plugin that you upgrade Winter as soon as possible.

Patches

This issue has been patched in 2a13faf (for 1.2) and bce4b59 (for 1.1) and is available with Winter v1.1.10 and v1.2.1.

Workarounds

If you have not yet upgraded, or are using the 1.1 branch of Winter (1.1.8 or above), you can avoid this issue by following some common security practices for JavaScript, including implementing a content security policy and auditing your scripts.

The 1.0 branch of Winter is not affected, as it does not contain the Snowboard framework.

For more information

If you have any questions or comments about this advisory:

Severity

Low

CVE ID

CVE-2022-39357

Weaknesses

No CWEs