Craft CMS 4.2.0.1 BaseElementSelectInput.js elementInfo.label cross site scripting
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.4 | $0-$5k | 0.00 |
Summary
A vulnerability identified as problematic has been detected in Craft CMS 4.2.0.1. This affects an unknown function of the file src/web/assets/cp/src/js/BaseElementSelectInput.js. This manipulation of the argument elementInfo.label causes cross site scripting. The identification of this vulnerability is CVE-2022-37246. It is possible to initiate the attack remotely. There is no exploit available. It is recommended to apply a patch to fix this issue.
Details
A vulnerability was found in Craft CMS 4.2.0.1 (Content Management System). It has been declared as problematic. Affected by this vulnerability is some unknown functionality of the file src/web/assets/cp/src/js/BaseElementSelectInput.js. The manipulation of the argument elementInfo.label with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity. The summary by CVE is:
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.
The weakness was shared 09/21/2022. It is possible to read the advisory at labs.integrity.pt. This vulnerability is known as CVE-2022-37246 since 08/01/2022. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.
Applying the patch 1d5fdba23c84d6d09a8a980c7b6fc52fb93b679b is able to eliminate this problem. The bugfix is ready for download at github.com.
Be aware that VulDB is the high quality source for vulnerability data.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.4VulDB Meta Temp Score: 4.4
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.4
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 1d5fdba23c84d6d09a8a980c7b6fc52fb93b679b
Timeline
08/01/2022 🔍09/21/2022 🔍
09/21/2022 🔍
05/27/2025 🔍
Sources
Advisory: 1d5fdba23c84d6d09a8a980c7b6fc52fb93b679bStatus: Confirmed
CVE: CVE-2022-37246 (🔍)
GCVE (CVE): GCVE-0-2022-37246
GCVE (VulDB): GCVE-100-209239
Entry
Created: 09/21/2022 19:37Updated: 05/27/2025 23:37
Changes: 09/21/2022 19:37 (43), 10/21/2022 20:30 (1), 10/21/2022 20:37 (11), 05/27/2025 23:37 (15)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.