Skip to content
Fencer Vulns
medium 5.4

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

Sources

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.