CVE-2022-37246
MEDIUM 5.4CVSS 3.1Craft CMS Cross-site Scripting vulnerability
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
- 21 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-f546-v666-559x
- Sources
- NVDJSONOSV GHSA-f546-v666-559xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:4.2.0.1:*:*:*:*:*:*:* |
= 4.2.0.1 | |
| OSV | Packagist | craftcms/cms | >= 4.0.0-RC1, < 4.2.1 | 4.2.1 |
| OSV | Packagist | craftcms/cms | >= 3.7.39, < 3.7.51 | 3.7.51 |
References
- https://github.com/craftcms/cms/commit/1d5fdba23c84d6d09a8a980c7b6fc52fb93b679b · Patch, Third Party Advisory, WEB
- https://labs.integrity.pt/advisories/cve-2022-37246/ · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-37246 · ADVISORY
- https://github.com/craftcms/cms/commit/ecefe7f0afe0a6c4d1097a570cba82753d33f681 · WEB
- https://github.com/craftcms/cms · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Sep 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 22 Sep 2022)