CVE-2022-21149 json
Cross-site Scripting (XSS)
published 4y ago modified last mo. also GHSA-7pfc-cx3m-v22x , EUVD-2022-3039
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist s-cart/core 6.9
- packagist s-cart/s-cart 6.9
- n/a s-cart/s-cart 6.9
- n/a s-cart/core 6.9
Is CVE-2022-21149 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.61% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 3.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | s-cart/core | <6.9 |
6.9 |
| packagist | s-cart/s-cart | <6.9 |
6.9 |
Affected products
- n/a s-cart/s-cart
- n/a s-cart/core
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
snyk.io
/vuln/SNYK-PHP-SCARTSCART-2389035
web, third-party-advisory
-
snyk.io
/vuln/SNYK-PHP-SCARTCORE-2389036
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-21149
advisory
-
github.com
/s-cart/core
package
Sources
- CVE List CVE-2022-21149
- GitHub Advisory GHSA-7pfc-cx3m-v22x
- NVD CVE-2022-21149
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.