CVE-2022-37251: Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts
Craft CMS 3.70-RC1–3.7.55.1 and 4.0.0-RC1–4.2.0.1 are vulnerable to Cross Site Scripting (XSS) via entry revisions and drafts. Versions 3.7.55.2 and 4.2.1 contain patches for this issue.
Other sources
Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via Drafts.
Craft CMS vulnerable to Cross-site Scripting via entry revisions and drafts
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/craftcms/cmsto a version that resolves this vulnerability.Fixed in 4.2.1 - Upgrade
Upgrade
composer/craftcms/cmsto a version that resolves this vulnerability.Fixed in 3.7.55.2 - Upgrade
Upgrade
Craft CMSto a version that resolves this vulnerability.Fixed in 3.7.55.2 - Upgrade
Upgrade
Craft CMSto a version that resolves this vulnerability.Fixed in 4.2.1
Event History
Frequently Asked Questions
What is the vulnerability CVE-2022-37251?
CVE-2022-37251 is a Cross Site Scripting (XSS) vulnerability in Craft CMS 4.2.0.1 via Drafts.
How severe is the vulnerability CVE-2022-37251?
The severity of CVE-2022-37251 is medium with a CVSS score of 5.4.
How can I fix the vulnerability CVE-2022-37251?
To fix the vulnerability CVE-2022-37251, it is recommended to upgrade to a version of Craft CMS that is not affected by this vulnerability.
What is Cross Site Scripting (XSS)?
Cross Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.
What is Craft CMS?
Craft CMS is a content management system (CMS) used for building websites and web applications.