{"id":"CVE-2022-21149","aliases":["CVE-2022-21149","GHSA-7pfc-cx3m-v22x"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS)","summary":"The package s-cart/s-cart before 6.9; 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 so the attacker can gain unauthorized access to that user's account through the stolen cookie.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The package s-cart/s-cart before 6.9; 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 so the attacker can gain unauthorized access to that user's account through the stolen cookie.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete s-cart/s-cart versiones anteriores a 6.9; el paquete s-cart/core versiones anteriores a 6.9, son vulnerables a un ataque de tipo Cross-site Scripting (XSS) que puede conllevar a un robo de cookies de cualquier víctima que visite la URL afectada, de forma que el atacante puede conseguir acceso no autorizado a la cuenta de ese usuario mediante la cookie robada","source":"nvd"}],"published":"2022-05-01T15:30:50.231Z","modified":"2026-09-10T03:49:31.476Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"6.9","status":"affected"}],"product":"s-cart/s-cart","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"6.9","status":"affected"}],"product":"s-cart/core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.9"}],"ecosystem":"Packagist","package":"s-cart/core","purl":"pkg:composer/s-cart/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.9"}],"ecosystem":"Packagist","package":"s-cart/s-cart","purl":"pkg:composer/s-cart/s-cart","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.9.0"}],"vendor":"s-cart","product":"s-cart","cpe":"cpe:2.3:a:s-cart:s-cart:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-SCARTSCART-2389035","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-PHP-SCARTCORE-2389036","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21149","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/s-cart/core","tags":["package"],"sources":["ghsa"]}],"credits":["Faisal Fs"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21149","url":"https://www.cve.org/CVERecord?id=CVE-2022-21149","licence":"CVE Terms of Use","modified":"2024-09-16T18:08:49.242Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7pfc-cx3m-v22x","url":"https://github.com/advisories/GHSA-7pfc-cx3m-v22x","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:31.476Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21149","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21149","licence":"Public domain","modified":"2026-06-17T04:25:37.297Z"}],"updatedAt":"2026-11-25T22:58:11.321Z","epss":{"score":0.00609,"percentile":0.50578,"date":"2026-12-02T12:00:21.000Z"}}