VDB
Sign up
MEDIUM5.4

GHSA-4g29-fccr-p59w

Reflected Cross-site Scripting in Shopware storefront

Quick fix

GHSA-4g29-fccr-p59w — shopware/shopware: upgrade to the fixed version with the command below.

composer require shopware/shopware:^5.7.9

Details

### Impact Not-stored XSS in storefront. Request parameter were directly assigned to the template, so that malicious code could be send via an URL.

### Patches We recommend updating to the current version 5.7.9. You can get the update to 5.7.9 regularly via the Auto-Updater or directly via the download overview. https://www.shopware.com/en/changelog-sw5/#5-7-9

For older versions you can use the Security Plugin: https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html

### References https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-04-2022

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/shopware/shopware
Introduced in: 0Fixed in: 5.7.9
Fixcomposer require shopware/shopware:^5.7.9

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"]}'