U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

CVE-2025-23209 Detail

Description

Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. This is an remote code execution (RCE) vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised. Anyone running an unpatched version of Craft with a compromised security key is affected. This vulnerability has been patched in Craft 5.5.8 and 4.13.8. Users who cannot update to a patched version, should rotate their security keys and ensure their privacy to help migitgate the issue.


Metrics

NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 3.x Severity and Vector Strings:

NIST CVSS score
NIST: NVD
Base Score:  8.1 HIGH
Vector:  CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Nist CVSS score does not match with CNA score
CNA:  GitHub, Inc.
Base Score:  8.0 HIGH
Vector:  CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://craftcms.com/knowledge-base/securing-craft#keep-your-secrets-secret Product 
https://github.com/craftcms/cms/commit/e59e22b30c9dd39e5e2c7fe02c147bcbd004e603 Patch 
https://github.com/craftcms/cms/security/advisories/GHSA-x684-96hh-833x Vendor Advisory 

This CVE is in CISA's Known Exploited Vulnerabilities Catalog

Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.

Vulnerability Name Date Added Due Date Required Action
Craft CMS Code Injection Vulnerability 02/20/2025 03/13/2025 Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Weakness Enumeration

CWE-ID CWE Name Source
CWE-94 Improper Control of Generation of Code ('Code Injection') GitHub, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:craftcms:craft_cms:4.0.0:-:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:craftcms:craft_cms:4.0.0:rc1:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:craftcms:craft_cms:4.0.0:rc2:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:craftcms:craft_cms:4.0.0:rc3:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (excluding)
4.0.0
Up to (excluding)
4.13.8
 cpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:*
   Show Matching CPE(s)
 cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
   Show Matching CPE(s)
From (excluding)
5.0.0
Up to (excluding)
5.5.8

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

3 change records found show changes

Quick Info

CVE Dictionary Entry:
CVE-2025-23209
NVD Published Date:
01/17/2025
NVD Last Modified:
02/21/2025
Source:
GitHub, Inc.