MEDIUM5.4
GHSA-3cvm-7wrh-qrf9
Craft CMS vulnerable to stored Cross-site Scripting via /admin/settings/fields page
Quick fix
GHSA-3cvm-7wrh-qrf9 — craftcms/cms: upgrade to the fixed version with the command below.
composer require craftcms/cms:^4.2.1Details
Craft CMS 4.2.0.1 is vulnerable to stored a cross-site scripting (XSS) via /admin/settings/fields page.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/craftcms/cms
Introduced in:
4.0.0-RC1Fixed in: 4.2.1Fix
composer require craftcms/cms:^4.2.1References
- https://nvd.nist.gov/vuln/detail/CVE-2022-37247[ADVISORY]
- https://github.com/craftcms/cms/commit/cedeba0609e4b173cd584dae7f33c5f713f19627[WEB]
- https://github.com/craftcms/cms[PACKAGE]
- https://github.com/craftcms/cms/blob/3.7.55.2/src/helpers/Cp.php[WEB]
- https://github.com/craftcms/cms/blob/4.0.0-RC1/src/helpers/Cp.php[WEB]
- https://labs.integrity.pt/advisories/cve-2022-37247[WEB]