{"id":"CVE-2022-24879","aliases":["CVE-2022-24879","GHSA-pf38-v6qj-j23h"],"related":[],"kind":"vulnerability","state":"published","title":"Malfunction of Cross-Site Request Forgery token validation","summary":"Shopware is an open source e-commerce software platform. Versions prior to 5.7.9 are vulnerable to malfunction of cross-site request forgery (CSRF) token validation. Under certain circumstances, the CSRF tokens were not generated anew and not validated correctly. This issue is fixed in version 5.7.9. Users of older versions may attempt to mitigate the vulnerability by using the Shopware security plugin.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Shopware is an open source e-commerce software platform. Versions prior to 5.7.9 are vulnerable to malfunction of cross-site request forgery (CSRF) token validation. Under certain circumstances, the CSRF tokens were not generated anew and not validated correctly. This issue is fixed in version 5.7.9. Users of older versions may attempt to mitigate the vulnerability by using the Shopware security plugin.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe CSRF tokens were not renewed after login and logout.\nAn attacker could impersonate the victim if the attacker is able to use the same device as the victim used beforehand.\n\n### Patches\nWe 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.\nhttps://www.shopware.com/en/changelog-sw5/#5-7-9\n\nFor older versions you can use the Security Plugin:\nhttps://store.shopware.com/en/swag575294366635f/shopware-security-plugin.html\n\n\n### References\nhttps://docs.shopware.com/en/shopware-5-en/security-updates/security-update-04-2022","format":"markdown","source":"ghsa"},{"lang":"es","text":"Shopware es una plataforma de software de comercio electrónico de código abierto. Las versiones anteriores a 5.7.9 son vulnerables a un funcionamiento inapropiado de la comprobación de tokens de tipo cross-site request forgery (CSRF). En determinadas circunstancias, los tokens de tipo CSRF no eran generados de nuevo y no son comprobados correctamente. Este problema ha sido corregido en la versión 5.7.9. Los usuarios de versiones anteriores pueden intentar mitigar la vulnerabilidad al usar el plugin de seguridad de Shopware","source":"nvd"}],"published":"2022-04-28T14:15:14.000Z","modified":"2026-06-17T04:32:43.017Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":">= 5.2.0, < 5.7.9","status":"affected"}],"vendor":"shopware","product":"shopware","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"5.2.0","status":"affected","fixed":"5.7.9"}],"ecosystem":"Packagist","package":"shopware/shopware","purl":"pkg:composer/shopware/shopware","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"5.2.0","fixed":"5.7.9"}],"vendor":"shopware","product":"shopware","cpe":"cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://docs.shopware.com/en/shopware-5-en/security-updates/security-update-04-2022","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.shopware.com/en/changelog-sw5/#5-7-9","tags":["release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/shopware/shopware/security/advisories/GHSA-pf38-v6qj-j23h","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24879","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/shopware/shopware","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:55:11.316Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-24879","url":"https://www.cve.org/CVERecord?id=CVE-2022-24879","licence":"CVE Terms of Use","modified":"2025-04-23T18:31:44.146Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pf38-v6qj-j23h","url":"https://github.com/advisories/GHSA-pf38-v6qj-j23h","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:39.296Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-24879","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24879","licence":"Public domain","modified":"2026-06-17T04:32:43.017Z"}],"updatedAt":"2026-11-25T22:58:11.289Z","epss":{"score":0.00605,"percentile":0.50338,"date":"2026-12-01T12:00:22.000Z"}}