{"id":"CVE-2022-21149","published":"2022-05-01T15:30:50Z","modified":"2024-09-16T18:08:49Z","title":"Cross-site Scripting (XSS)","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00609,"percentile":0.50132,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-SCARTSCART-2389035","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-PHP-SCARTCORE-2389036","tags":["x_refsource_MISC"]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":10.03},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"s-cart/s-cart","versions":[">= unspecified, < 6.9"]},{"vendor":"n/a","product":"s-cart/core","versions":[">= unspecified, < 6.9"]}],"affected":[{"ecosystem":"Packagist","package":"s-cart/core","vulnerableRanges":["<6.9"],"patched":["6.9"],"from":["GHSA-7pfc-cx3m-v22x"],"provenance":"source"},{"ecosystem":"Packagist","package":"s-cart/s-cart","vulnerableRanges":["<6.9"],"patched":["6.9"],"from":["GHSA-7pfc-cx3m-v22x"],"provenance":"source"}],"summary":{"text":"The s-cart/s-cart and s-cart/core packages, both versions before 6.9, contain a cross-site scripting flaw. An attacker can use it to steal cookies from a user who visits a crafted URL, then gain unauthorized access to that user's account, and the attack requires only network access and a victim who interacts with the link, with no authentication needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:48Z"},"euvd":{"id":"EUVD-2022-3039","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-44111","published":"2022-02-11","fixed":"6.7.2","kev":false,"link":{"from":"CVE-2021-44111","to":"CVE-2022-21149","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:s-cart/s-cart","fromFixed":"6.7.2","toFixed":"6.9","daysApart":79}]}},{"cve":"CVE-2022-21149","published":"2022-05-01","fixed":"6.9","kev":false}],"package":"Packagist:s-cart/s-cart"}}