CVE-2025-23209: Craft CMS Code Injection
Craft CMS · listed in the CISA catalog of actively exploited vulnerabilities since 2025-02-20.
- CVSS v3.1 (CVE record)
- 8.1
- high
- EPSS (exploit probability, 30 days)
- 22%
- higher than 97.6% of all CVEs
- Added to CISA KEV
- 2025-02-20
- US federal due date 2025-03-13
- Automatable (CISA SSVC)
- no
- technical impact: total
CVE-2025-23209 explained
CVE-2025-23209 is a code injection flaw (CWE-94) in Craft CMS that allows remote code execution on Craft 4 and 5 installs whose security key has already been compromised. CISA lists it as known to be exploited, so sites running unpatched versions with an exposed or leaked security key face a serious risk of full compromise.
Impact
An attacker who holds the site's compromised security key can execute code remotely on the Craft server. The CVSS vector indicates network access with low privileges, user interaction and high attack complexity, with a changed scope and high impact on confidentiality, integrity and availability. CISA rates the technical impact as total but not automatable. CISA lists the vulnerability as known to be exploited. Ransomware use is unknown.
Who is affected
The CVE record lists craftcms cms with the entries 4.0.0-RC1, < 4.13.8, 5.0.0-RC1 and < 5.5.5. The description states that Craft 4 and 5 installs are affected and that the issue is patched in Craft 5.5.8 and 4.13.8. The record's fixedIn field names no fixed version. Note that the record's Craft 5 upper bound (5.5.5) differs from the patched version in the description (5.5.8).
Written with AI from the data on this page and checked against it automatically.
Official 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.
CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
CISA notes
Affected and fixed versions
From the CVE record published by the vendor or CVE numbering authority.
- craftcms cmsAffectedFixed in
- 4.0.0-RC1
- < 4.13.8
- 5.0.0-RC1
- < 5.5.5
not stated
| Product | Affected | Fixed in |
|---|---|---|
| craftcms cms |
| not stated |
How to fix it
- The CVE record names no fixed version – check the vendor advisory and CISA's required action for updates and mitigations.
- Vendor advisory: github.com/craftcms/cms/security/advisories/GHSA-x684-96h…
- CISA's deadline for US federal agencies: 2025-03-13 (passed) – a useful benchmark for everyone else, too.
What to do
- Update Craft 4 installs to
4.13.8and Craft 5 installs to5.5.8, the patched versions named in the description. - If you cannot update, rotate the Craft security key and keep the new key private.
- Check servers for signs of compromise, especially where the security key may have been exposed.
- Follow the vendor advisory and CISA's required action to apply mitigations or discontinue use if none are available.
The CVE record's fixedIn field names no fixed version, but the description states the issue is patched in Craft 5.5.8 and 4.13.8. Until you can update, rotate your security key and keep it private. Follow the vendor advisory and CISA's required action: apply mitigations per vendor instructions or discontinue use if mitigations are unavailable.
Written with AI from the data on this page and checked against it automatically.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- No – each attack needs manual steps
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-94 Improper Control of Generation of Code ('Code Injection')
Questions about CVE-2025-23209
- Is my site at risk if the security key was never leaked?
- The description states the vulnerability affects installs where the security key has already been compromised. Anyone running an unpatched version with a compromised key is affected. Updating is still recommended, as CISA lists the flaw as known to be exploited.
- Which versions fix CVE-2025-23209?
- The description says the issue is patched in Craft
5.5.8and4.13.8. The CVE record's fixedIn field lists no fixed version, and its Craft 5 entry reads< 5.5.5. - What is the CISA deadline for federal agencies?
- CISA added CVE-2025-23209 to its Known Exploited Vulnerabilities catalog on 2025-02-20, with a US federal due date of 2025-03-13.
Written with AI from the data on this page and checked against it automatically.
References
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.