VDB
Sign up
CRITICAL9.8

GHSA-7336-ghhp-f2qj

Shopware Remote Code Execution Vulnerability

Quick fix

GHSA-7336-ghhp-f2qj — shopware/shopware: upgrade to the fixed version with the command below.

composer require shopware/shopware:^5.2.16

Details

Under certain circumstances, it’s possible to execute an unauthorized foreign code in Shopware in versions prior to 5.2.16. One possible threat is if a template that doesn’t derive from the Shopware standard has been completely copied. Themes or plugins that execute or overwrite the following template code are vulnerable.

- Affected file: emotion.tpl

Path template file "Emotion template": templates / _default / frontend / forms / elements.tpl Path template file "Responsive template": themes/Frontend/Bare/frontend/forms/elements.tpl

The complete line beginning with: `{eval var=$sSupport.sFields[$sKey]...` should be exchanged with the following:

``` {$sSupport.sFields[$sKey]|replace:'{literal}':''|replace:'{/literal}':''|replace:'%*%':"{s name='RequiredField' namespace='frontend/register/index'}{/s}"} ```

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/shopware/shopware
Introduced in: 5.2.15Fixed in: 5.2.16
Fixcomposer require shopware/shopware:^5.2.16

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/shopware/shopware"]}'