CVE-2022-37251Craftcms Craft Cms
Medium 5.4
Follow: this CVE · Craftcms · Craftcms Craft Cms We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 40
- Auth required
- Yes
- Published
- Sep 16, 2022
- Updated
- Jul 9, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via Drafts.
What to do
- Apply the vendor's security update for Craft Cms.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | craftcms/cms |
≥ 3.7.0-beta.1 < 3.7.55.2 |
3.7.55.2 |
composer require "craftcms/cms:^3.7.55.2" |
| Packagist | craftcms/cms |
≥ 4.0.0-RC1 < 4.2.1 |
4.2.1 |
composer require "craftcms/cms:^4.2.1" |
Per OSV / GitHub Advisories (GHSA-mw37-wx8p-gp45). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| craftcms | craft_cms | 4.2.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- labs.integrity.pt Third Party Advisory