{"id":"CVE-2022-37246","aliases":["GHSA-f546-v666-559x"],"url":"https://o3.security/vulnerability/CVE-2022-37246","summary":"Craft CMS Cross-site Scripting vulnerability","details":"Craft CMS 4.2.0.1 is affected by Cross Site Scripting (XSS) in the file src/web/assets/cp/src/js/BaseElementSelectInput.js and in specific on the line label: elementInfo.label.","published":"2022-09-21T14:14:01Z","modified":"2026-08-12T03:51:21.001368043Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"4.2.1"},{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"3.7.51"}],"fix":{"url":"https://github.com/craftcms/cms/commit/1d5fdba23c84d6d09a8a980c7b6fc52fb93b679b","label":"craftcms/cms@1d5fdba"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/37xxx/CVE-2022-37246.json"},{"type":"ADVISORY","url":"https://labs.integrity.pt/advisories/cve-2022-37246/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37246"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/1d5fdba23c84d6d09a8a980c7b6fc52fb93b679b"},{"type":"WEB","url":"https://github.com/craftcms/cms/commit/ecefe7f0afe0a6c4d1097a570cba82753d33f681"},{"type":"PACKAGE","url":"https://github.com/craftcms/cms"},{"type":"WEB","url":"https://labs.integrity.pt/advisories/cve-2022-37246"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:21.001368043Z"}}