CVE-2022-37248 json
Craft CMS Cross site Scripting vulnerability
published 2022-09-16 4 y ago modified 2026-06-17 4 mo ago also GHSA-wxvf-839f-jqmh , EUVD-2022-6971
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via src/helpers/Cp.php.
Patch / fix
- packagist craftcms/cms 4.2.1
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- labs.integrity.pt https://labs.integrity.pt/advisories/cve-2022-37248/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | craftcms/cms | >=4.0.0-RC1, <4.2.1 |
4.2.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/craftcms/cms/commit/cedeba0609e4b173cd584dae7f33c5f713f19627
web, patch, third-party-advisory
-
labs.integrity.pt
/advisories/cve-2022-37248/
exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-37248
advisory
-
github.com
/craftcms/cms
package
-
github.com
/craftcms/cms/blob/3.7.55.1/src/helpers/Cp.php
web
-
github.com
/craftcms/cms/blob/4.0.0-RC1/src/helpers/Cp.php
web
-
github.com
/craftcms/cms/blob/develop/CHANGELOG.md#421---2022-08-09
web
-
labs.integrity.pt
/advisories/cve-2022-37248
web
Sources
- CVE List CVE-2022-37248
- GitHub Advisory GHSA-wxvf-839f-jqmh
- NVD CVE-2022-37248
Fencer Vulns 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.