Live threats

All CVEs / Craftcms

CVE-2022-37251Craftcms Craft Cms

Medium 5.4

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Craft Cms.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
craftcmscraft_cms4.2.0.1

Official sources

References

Links published by the sources. Open them with care.