Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-4p3x-8qw9-24w9

Опубликовано: 27 окт. 2021
Источник: github
Github: Прошло ревью
CVSS3: 5.7

Описание

Authenticated Stored XSS in shopware/shopware

Impact

Authenticated Stored XSS in Administration

Patches

Use the Security Plugin: https://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html

Workarounds

If you cannot use the security plugin, add the following config to your .htaccess file

<IfModule mod_headers.c> <FilesMatch "\.(?i:svg)$"> Header set Content-Security-Policy "script-src 'none'" </FilesMatch> </IfModule>

If you are using nginx as server config, you can add the following to your configuration:

server { # ... location ~* ^.+\.svg$ { add_header Content-Security-Policy "script-src 'none'"; } }

References

https://docs.shopware.com/en/shopware-5-en/sicherheitsupdates/security-update-10-2021

Пакеты

Наименование

shopware/shopware

composer
Затронутые версииВерсия исправления

< 5.7.6

5.7.6

EPSS

Процентиль: 66%
0.00512
Низкий

5.7 Medium

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 5.7
nvd
больше 4 лет назад

Shopware is open source e-commerce software. Versions prior to 5.7.6 contain a cross-site scripting vulnerability. This issue is patched in version 5.7.6. Two workarounds are available. Using the security plugin or adding a particular following config to the `.htaccess` file will protect against cross-site scripting in this case. There is also a config for those using nginx as a server. The plugin and the configs can be found on the GitHub Security Advisory page for this vulnerability.

EPSS

Процентиль: 66%
0.00512
Низкий

5.7 Medium

CVSS3

Дефекты

CWE-79