{"id":"GHSA-wxvf-839f-jqmh","aliases":["CVE-2022-37248"],"title":"Craft CMS Cross site Scripting vulnerability","description":"Craft CMS 4.2.0.1 is vulnerable to Cross Site Scripting (XSS) via `src/helpers/Cp.php`.","severity":"medium","score":5.4,"published":"2022-09-17T00:00:36.000Z","modified":"2024-02-16T08:23:36.812Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"craftcms/cms","ranges":[{"events":[{"introduced":"4.0.0-RC1"},{"fixed":"4.2.1"}],"type":"ECOSYSTEM"}],"versions":["4.0.0","4.0.0-RC1","4.0.0-RC2","4.0.0-RC3","4.0.0.1","4.0.1","4.0.2","4.0.3","4.0.4","4.0.5","4.0.5.1","4.0.5.2","4.0.6","4.1.0","4.1.0.1","4.1.0.2","4.1.1","4.1.2","4.1.3","4.1.4","4.1.4.1","4.2.0","4.2.0.1","4.2.0.2"],"fixed":["4.2.1"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-37248","https://github.com/craftcms/cms/commit/cedeba0609e4b173cd584dae7f33c5f713f19627","https://github.com/craftcms/cms","https://github.com/craftcms/cms/blob/3.7.55.1/src/helpers/Cp.php","https://github.com/craftcms/cms/blob/4.0.0-RC1/src/helpers/Cp.php","https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#421---2022-08-09","https://labs.integrity.pt/advisories/cve-2022-37248"],"sources":[{"name":"OSV","id":"GHSA-wxvf-839f-jqmh","modified":"2024-02-16T08:23:36.812247Z","url":"https://osv.dev/vulnerability/GHSA-wxvf-839f-jqmh"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4}]}