PT-2022-23890 · Craft Cms · Craft Cms

·

CVE-2022-37246

·

Published

2022-09-21

·

Updated

2022-09-22

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Craft CMS version 4.2.0.1
Description The issue is related to Cross Site Scripting (XSS) in the file src/web/assets/cp/src/js/BaseElementSelectInput.js, specifically on the line label: elementInfo.label. This suggests a potential problem with how user input is handled, allowing for malicious scripts to be injected into the website.
Recommendations For Craft CMS version 4.2.0.1, consider disabling the BaseElementSelectInput.js file or restricting access to it until a patch is available. Additionally, avoid using the label variable in the affected API endpoint or function until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-37246
GHSA-F546-V666-559X

Affected Products

Craft Cms