# CVE-2022-21149: Cross-site Scripting (XSS)

- Severity: Medium 5.4 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-02)
- Published: 2022-05-01T15:30:50.231Z
- Modified: 2026-09-10T03:49:31.476Z
- Also known as: GHSA-7pfc-cx3m-v22x
- Weaknesses: CWE-79
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- s-cart/s-cart: from unspecified before 6.9
- s-cart/core: from unspecified before 6.9
- s-cart/core (Packagist): before 6.9
- s-cart/s-cart (Packagist): before 6.9
- s-cart s-cart: before 6.9.0

## Every score

- snyk: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-PHP-SCARTSCART-2389035> (third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-PHP-SCARTCORE-2389036> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-21149> (advisory)
- <https://github.com/s-cart/core> (package)

## Sources

- CVE List: [CVE-2022-21149](https://www.cve.org/CVERecord?id=CVE-2022-21149), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-7pfc-cx3m-v22x](https://github.com/advisories/GHSA-7pfc-cx3m-v22x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-21149](https://nvd.nist.gov/vuln/detail/CVE-2022-21149), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-21149 · Whole record: https://cve.day/CVE-2022-21149.json · Rebuilt by cve.day 2026-11-25T22:58:11.321Z
