Skip to main content
VulnerabilityPublished Updated

CVE-2022-37250: 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, 10:12 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% 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 16 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
Packagistcraftcms/cmspkg:composer/craftcms/cmsOther threatsAffected
  • =4.2.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Upgrade Craft CMS to a version where this vulnerability is patched.
  2. Implement strict input validation and output encoding on all user-supplied data, especially in administrative interfaces, to prevent injection of malicious scripts.
  3. Restrict administrative access to trusted users only and enforce the principle of least privilege to minimize the number of users who can exploit this vulnerability.
  4. Employ Content Security Policy (CSP) headers to reduce the impact of XSS attacks by restricting the sources from which scripts can be loaded and executed.
  5. Monitor administrative account activities and web server logs for unusual behavior that could indicate attempted exploitation.
  6. Educate administrative users about phishing and social engineering risks, as user interaction is required for exploitation.
  7. Consider implementing multi-factor authentication (MFA) for admin accounts to mitigate the risk of session hijacking or credential theft resulting from XSS exploitation.

Description

Craft CMS 4.2.0.1 suffers from Stored Cross Site Scripting (XSS) in /admin/myaccount.

References

Community reviews

Loading reviews…