{"id":"GHSA-mgfr-44wv-hqv6","aliases":["CVE-2019-7938"],"title":"Magento 2 Community Edition XSS Vulnerability","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"MODERATE","description":"A stored cross-site scripting vulnerability exists in the admin panel of Magento Open Source prior to 1.9.4.2, and Magento Commerce prior to 1.14.4.2, Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. This could be exploited by an authenticated user with privileges to modify catalog price rules to inject malicious javascript.","severity":"medium","score":4.8,"published":"2022-05-24T16:52:28.000Z","modified":"2024-02-16T08:13:39.410Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-mgfr-44wv-hqv6","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"ranges":[{"events":[{"introduced":"2.1.0"},{"fixed":"2.1.18"}],"type":"ECOSYSTEM"}],"versions":["2.1.0","2.1.1","2.1.10","2.1.11","2.1.12","2.1.13","2.1.14","2.1.15","2.1.16","2.1.17","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.8","2.1.9"],"fixed":["2.1.18"]},{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-mgfr-44wv-hqv6","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"ranges":[{"events":[{"introduced":"2.2.0"},{"fixed":"2.2.9"}],"type":"ECOSYSTEM"}],"versions":["2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.2.7","2.2.8"],"fixed":["2.2.9"]},{"ecosystem":"Packagist","name":"magento/community-edition","sources":[{"name":"OSV · GHSA-mgfr-44wv-hqv6","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"ranges":[{"events":[{"introduced":"2.3.0"},{"fixed":"2.3.2"}],"type":"ECOSYSTEM"}],"versions":["2.3.0","2.3.1"],"fixed":["2.3.2"]},{"ecosystem":"Packagist","name":"magento/magento1ce","sources":[{"name":"OSV · GHSA-mgfr-44wv-hqv6","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"ranges":[{"events":[{"introduced":"1"},{"fixed":"1.9.4.2"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["1.9.4.2"]},{"ecosystem":"Packagist","name":"magento/magento1ee","sources":[{"name":"OSV · GHSA-mgfr-44wv-hqv6","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"ranges":[{"events":[{"introduced":"1"},{"fixed":"1.14.4.2"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["1.14.4.2"]},{"ecosystem":"Packagist","name":"magento/product-community-edition","sources":[{"name":"OSV · GHSA-mgfr-44wv-hqv6","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"ranges":[{"events":[{"introduced":"2.1"},{"fixed":"2.1.18"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.1.18"]},{"ecosystem":"Packagist","name":"magento/product-community-edition","sources":[{"name":"OSV · GHSA-mgfr-44wv-hqv6","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"ranges":[{"events":[{"introduced":"2.2"},{"fixed":"2.2.9"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.2.9"]},{"ecosystem":"Packagist","name":"magento/product-community-edition","sources":[{"name":"OSV · GHSA-mgfr-44wv-hqv6","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"ranges":[{"events":[{"introduced":"2.3"},{"fixed":"2.3.2"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.3.2"]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2019-7938","https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ce/CVE-2019-7938.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ee/CVE-2019-7938.yaml","https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7938.yaml","https://github.com/magento/magento2","https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23","https://web.archive.org/web/20220121051916/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23"],"sources":[{"name":"OSV","id":"GHSA-mgfr-44wv-hqv6","modified":"2024-02-16T08:13:39.410595Z","url":"https://osv.dev/vulnerability/GHSA-mgfr-44wv-hqv6"}],"assessments":[{"source":"OSV","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-29T03:30:33.923Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}