MediumGHSA-8r89-x93x-mjq2CVE-2022-37250
Craft CMS Stored Cross-site Scripting in User Addresses Title
Published 17 Sept 2022 · Updated 16 Feb 2024
Affected package
craftcms/cmsComposer
- Affected
- >=4.0.0-RC1 <4.2.1
- Fixed in
- 4.2.1
Update to the fixed version for your release line, for example:
composer require craftcms/cms:^4.2.1Details
Craft CMS 4.2.0.1 suffers from Stored Cross Site Scripting (XSS) in /admin/myaccount.
Is GHSA-8r89-x93x-mjq2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected craftcms/cms, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-37250
- Linkgithub.com/craftcms/cms/commit/cdc9cb66d0716c9552e4113c8e426fd1a31f9516
- Packagegithub.com/craftcms/cms
- Linkgithub.com/craftcms/cms/blob/3.7.55.1/src/helpers/Cp.php
- Linkgithub.com/craftcms/cms/blob/4.0.0-RC1/src/helpers/Cp.php
- Linkgithub.com/craftcms/cms/blob/develop/CHANGELOG.md#421---2022-08-09
- Linklabs.integrity.pt/advisories/cve-2022-37250
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.