Moderate severityNVD Advisory· Published Sep 21, 2022· Updated May 27, 2025
CVE-2022-37246
CVE-2022-37246
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.2.1 | 4.2.1 |
craftcms/cmsPackagist | >= 3.7.39, < 3.7.51 | 3.7.51 |
Affected products
2Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
6- github.com/advisories/GHSA-f546-v666-559xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-37246ghsaADVISORY
- github.com/craftcms/cms/commit/1d5fdba23c84d6d09a8a980c7b6fc52fb93b679bghsax_refsource_MISCWEB
- github.com/craftcms/cms/commit/ecefe7f0afe0a6c4d1097a570cba82753d33f681ghsaWEB
- labs.integrity.pt/advisories/cve-2022-37246ghsaWEB
- labs.integrity.pt/advisories/cve-2022-37246/mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.