CVE-2022-21149
LOW 3.5CVSS 3.1SCart is vulnerable to cross-site scripting (XSS)
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.
- Published
- 1 May 2022
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-7pfc-cx3m-v22x
- Sources
- NVDJSONOSV GHSA-7pfc-cx3m-v22xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | s-cart | s-cartcpe:2.3:a:s-cart:s-cart:*:*:*:*:*:*:*:* |
< 6.9.0 | 6.9.0 |
| OSV | Packagist | s-cart/core | < 6.9 | 6.9 |
| OSV | Packagist | s-cart/s-cart | < 6.9 | 6.9 |
References
- https://snyk.io/vuln/SNYK-PHP-SCARTCORE-2389036 · Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-PHP-SCARTSCART-2389035 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21149 · ADVISORY
- https://github.com/s-cart/core · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 1 May 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 3 May 2022)