{"id":"GHSA-7pfc-cx3m-v22x","summary":"SCart is vulnerable to cross-site scripting (XSS) ","details":"SCart e-commerce is a free open source for businesses, built on the Laravel framework. The package s-cart/s-cart before 6.9 and the package s-cart/core before 6.9 are vulnerable to cross-site Scripting (XSS) which can lead to cookie stealing of any victim that visits the affected URL. An attacker can gain unauthorized access to that user's account through the stolen cookie.","aliases":["CVE-2022-21149"],"modified":"2026-09-10T03:49:31.476576482Z","published":"2022-05-03T00:00:46Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-05-23T19:37:17Z","nvd_published_at":"2022-05-01T16:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21149"},{"type":"PACKAGE","url":"https://github.com/s-cart/core"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PHP-SCARTCORE-2389036"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PHP-SCARTSCART-2389035"}],"affected":[{"package":{"name":"s-cart/core","ecosystem":"Packagist","purl":"pkg:composer/s-cart/core"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.9"}]}],"versions":["4.0.0","4.0.0-beta","4.0.1","4.0.1.1","4.0.1.2","4.0.1.3","4.0.1.4","4.0.1.5","4.1.0","4.1.0.1","4.1.0.2","4.1.0.3","4.1.0.4","4.1.0.5","4.1.1","4.2.0","4.2.1","4.2.1.1","4.2.1.2","4.2.1.3","4.2.1.4","4.2.1.5","4.2.2.0","4.2.2.1","4.2.2.2","4.2.3.0","4.3.0","4.3.0.1","4.3.1","4.3.1.1","4.3.1.2","4.3.2.0","4.4.0-beta","4.4.0.0","4.4.0.1","4.4.0.2","4.4.0.3","4.4.0.4","4.4.0.5","4.4.1.0","4.4.1.1","4.4.2.0","4.5.0","4.5.1","4.5.2","5.0.0","5.0.0-beta","5.0.1","5.0.2","5.0.2.1","5.0.3","5.0.4","5.0.5","5.0.6","5.0.6.1","5.0.6.2","5.1.0","5.1.1","5.1.2","5.1.2.1","6.0-beta","6.0.1","6.0.2","6.0.2.1","6.0.2.2","6.0.2.3","6.0.3","6.0.3.1","6.0.3.2","6.0.3.3","6.0.3.4","6.0.4","6.0.4.1","6.0.4.2","6.0.4.3","6.0.4.4","6.0.4.5","6.0.4.6","6.0.5.0","6.0.5.1","6.0.5.2","6.0.5.3","6.0.5.4","6.0.6","6.0.6.1","6.0.6.2","6.0.6.3","6.0.6.4","6.1.0.0","6.1.0.1","6.1.0.2","6.1.0.3","6.1.1.0","6.1.1.1","6.1.2","6.1.2.3","6.1.3","6.2.0","6.2.1","6.2.1.1","6.2.1.2","6.2.1.3","6.2.1.4","6.2.1.5","6.2.1.6","6.2.1.7","6.2.1.8","6.2.2.0","6.2.2.1","6.2.2.2","6.2.2.3","6.2.3.0","6.2.3.1","6.2.3.2","6.2.3.3","6.2.3.4","6.2.3.5","6.2.3.6","6.2.3.7","6.2.3.8","6.3.0","6.3.0-beta","6.3.0.1","6.3.0.2","6.3.0.3","6.3.0.4","6.3.1","6.3.1.1","6.3.1.2","6.3.1.3","6.3.3.0","6.3.3.1","6.3.3.2","6.3.3.3","6.3.3.4","6.3.3.5","6.3.3.6","6.4.0.0","6.4.0.1","6.4.0.2","6.4.0.3","6.4.0.4","6.4.0.5","6.4.0.6","6.4.1.0","6.4.1.1","6.4.1.2","6.4.1.3","6.4.1.4","6.4.1.5","6.4.1.6","6.4.1.7","6.4.1.8","6.4.1.9","6.4.2.0","6.4.2.1","6.4.2.2","6.4.2.3","6.4.2.4","6.4.2.5","6.5.0","6.5.0-beta","6.5.0.1","6.5.0.2","6.5.0.3","6.5.0.4","6.5.0.5","6.5.0.6","6.5.0.7","6.5.1.0","6.5.1.1","6.5.1.2","6.5.1.3","6.5.1.4","6.5.1.5","6.5.1.6","6.5.1.7","6.5.1.8","6.5.1.9","6.5.2.0","6.5.2.1","6.5.2.10","6.5.2.2","6.5.2.3","6.5.2.4","6.5.2.5","6.5.2.6","6.5.2.7","6.5.2.8","6.5.2.9","6.6.0.0","6.6.0.0-beta","6.6.0.1","6.6.0.2","6.6.0.3","6.6.0.4","6.6.0.5","6.6.0.6","6.6.1.0","6.6.1.1","6.6.1.2","6.6.2.0","6.6.2.1","6.6.2.2","6.6.2.3","6.6.2.4","6.6.2.5","6.6.2.6","6.6.2.7","6.6.2.8","6.7.0","6.7.1","6.7.10","6.7.11","6.7.12","6.7.13","6.7.14","6.7.15","6.7.16","6.7.17","6.7.2","6.7.3","6.7.3.1","6.7.3.2","6.7.3.3","6.7.4","6.7.5","6.7.6","6.7.7","6.7.8","6.7.9","6.8.0","6.8.1","6.8.10","6.8.11","6.8.12","6.8.13","6.8.14","6.8.15","6.8.16","6.8.17","6.8.2","6.8.3","6.8.4","6.8.5","6.8.6","6.8.7","6.8.8","6.8.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7pfc-cx3m-v22x/GHSA-7pfc-cx3m-v22x.json"}},{"package":{"name":"s-cart/s-cart","ecosystem":"Packagist","purl":"pkg:composer/s-cart/s-cart"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7pfc-cx3m-v22x/GHSA-7pfc-cx3m-v22x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}