Skip to main content
VulnerabilityPublished Updated

CVE-2022-37246: Craft CMS · Cross-site Scripting

Source CVE Database V5

0

Not known to be exploited · CVSS 5.4 Medium.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Sep 2022

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
n/a n/aAffected
  • =4.2.0.1
Fixed in–

AI-suggested

European organizations should take the following specific actions: 1) Identify all instances of Craft CMS 4.2.0.1 in their environment and assess exposure. 3) Implement strict Content Security Policy (CSP) headers to limit the impact of potential XSS attacks by restricting script sources and execution contexts. 4) Conduct a thorough review of user privileges within the CMS to ensure the principle of least privilege is enforced, minimizing the number of users who can trigger the vulnerable code path. 5) Educate CMS users about phishing and social engineering risks to reduce the likelihood of user interaction leading to exploitation. 6) Monitor web server and application logs for suspicious activity related to the vulnerable component, including unusual requests or script injections. 7) Employ web application firewalls (WAF) with rules targeting XSS patterns to provide an additional layer of defense. 8) Regularly audit and sanitize all user-generated content and inputs that may be rendered in the CMS interface.

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.

References

Community reviews

Loading reviews…