CVE-2022-37251 json
Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts
published 2022-09-16 4 y ago modified 2026-07-09 4 mo ago also GHSA-mw37-wx8p-gp45 , EUVD-2022-6883
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via Drafts.
Patch / fix
- packagist craftcms/cms 3.7.55.2, 4.2.1
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
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 | >=3.7.0-beta.1, <3.7.55.2 >=4.0.0-RC1, <4.2.1 |
3.7.55.2 4.2.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/craftcms/cms/commit/7139213dbd9e177a3528aac8e2db8de91830f118
web
-
github.com
/craftcms/cms/commit/919c9074ff8596bf30a629b0888c529793e9a903
web
-
github.com
/craftcms/cms/commit/f0d9b8a1e3ac005a2418f7d3d9059b49a96e73ea
web
-
labs.integrity.pt
/advisories/cve-2022-37251/
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-37251
advisory
-
github.com
/craftcms/cms
package
-
github.com
/craftcms/cms/blob/develop/CHANGELOG.md#421---2022-08-09
web
-
labs.integrity.pt
/advisories/cve-2022-37251
web
-
craft.com
web
Sources
- CVE List CVE-2022-37251
- GitHub Advisory GHSA-mw37-wx8p-gp45
- NVD CVE-2022-37251
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.