{"id":"CVE-2022-24746","published":"2022-03-09T22:25:23Z","modified":"2025-04-23T18:56:15Z","title":"HTML injection possibility in voucher code form","vendor":"shopware","product":"platform","tier":"tail","description":{"text":"Shopware is an open commerce platform based on the Symfony php Framework and the Vue javascript framework. In affected versions it is possible to inject code via the voucher code form. This issue has been patched in version 6.4.8.1. There are no known workarounds for this issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00844,"percentile":0.58853,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/shopware/platform/security/advisories/GHSA-952p-fqcp-g8pc","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/shopware/platform/commit/651598a61073cbe59368e311817bdc6e7fb349c6","tags":["x_refsource_MISC"]},{"url":"https://docs.shopware.com/en/shopware-6-en/security-updates/security-update-02-2022","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":11.77},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"shopware","affectedVersions":[{"vendor":"shopware","product":"platform","versions":["< 6.4.8.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:09:19.929026Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"shopware/platform","vulnerableRanges":["<6.4.8.1"],"patched":["6.4.8.1"],"from":["GHSA-952p-fqcp-g8pc"],"provenance":"source"},{"ecosystem":"Packagist","package":"shopware/core","vulnerableRanges":["<6.4.8.1"],"patched":["6.4.8.1"],"from":["GHSA-952p-fqcp-g8pc"],"provenance":"source"},{"ecosystem":"Packagist","package":"shopware/storefront","vulnerableRanges":["<6.4.8.1"],"patched":["6.4.8.1"],"from":["GHSA-952p-fqcp-g8pc"],"provenance":"source"}],"summary":{"text":"The flaw is an HTML injection (cross-site scripting-type) issue in the voucher code form of the Shopware platform, an open commerce platform built on Symfony and Vue. An attacker can inject code through that form, and exploitation requires network access and no authentication, but a user must interact with the affected page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:00Z"},"euvd":{"id":"EUVD-2022-1388","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-shopware-platform-cve-2021-32710","parents":[{"from":"CVE-2021-32710","to":"CVE-2022-24746","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Storefront/DependencyInjection/controller.xml"],"commits":["https://github.com/shopware/platform/commit/010c0154bea57c1fca73277c7431d029db7a972e","https://github.com/shopware/platform/commit/651598a61073cbe59368e311817bdc6e7fb349c6"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2022-24746","to":"CVE-2023-22734","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Storefront/DependencyInjection/controller.xml"],"commits":["https://github.com/shopware/platform/commit/651598a61073cbe59368e311817bdc6e7fb349c6","https://github.com/shopware/platform/commit/f5a95ee2bcf1e546878450963ef1d9886e59a620"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2021-37710","published":"2021-08-16","fixed":"6.4.3.1","kev":false},{"cve":"CVE-2021-37711","published":"2021-08-16","fixed":"6.4.3.1","kev":false},{"cve":"CVE-2022-24744","published":"2022-03-09","fixed":"6.4.8.1","kev":false},{"cve":"CVE-2022-24746","published":"2022-03-09","fixed":"6.4.8.1","kev":false},{"cve":"CVE-2022-24745","published":"2022-03-09","fixed":"6.4.8.2","kev":false,"link":{"from":"CVE-2022-24746","to":"CVE-2022-24745","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:shopware/platform","fromFixed":"6.4.8.1","toFixed":"6.4.8.2","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:shopware/storefront","fromFixed":"6.4.8.1","toFixed":"6.4.8.2","daysApart":0}]}},{"cve":"CVE-2022-24747","published":"2022-03-09","fixed":"6.4.8.2","kev":false,"link":{"from":"CVE-2022-24746","to":"CVE-2022-24747","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:shopware/platform","fromFixed":"6.4.8.1","toFixed":"6.4.8.2","daysApart":0},{"kind":"version-step","provenance":"source","package":"Packagist:shopware/core","fromFixed":"6.4.8.1","toFixed":"6.4.8.2","daysApart":0}]}},{"cve":"CVE-2022-24871","published":"2022-04-20","fixed":"6.4.10.1","kev":false}],"package":"Packagist:shopware/platform"}}