همهٔ گزارش‌ها
متوسط

Authenticated Stored XSS in shopware/shopware

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
< 5.7.6
نسخهٔ اصلاح‌شده
5.7.6

بهره‌برداری

CVE-2021-41188

احتمال بهره‌برداری در ۳۰ روز آینده: 0.76%

FIRST EPSS · ۱۴۰۵/۰۸/۲۹

شرح آسیب‌پذیری

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

پیوندها