cve.bz

CVE-2025-23209 Craft CMS Code Injection Vulnerability

8.1 highKEVEPSS 22%Fix available

High (8.1) in Craft CMS Craft CMS. In CISA KEV since 2025-02-20. EPSS 22% estimated probability of exploitation activity in the next 30 days. Fixed in craftcms/cms 4.13.8, 5.5.8.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
22% (unchanged from 22% a week ago; 22% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2025-02-20, due 2025-03-13
CISA's assessment (SSVC)
Exploitation: active · Automatable: no · Technical impact: total, assessed 2025-02-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-23209 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-23209?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-23209?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-23209 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
craftcms:craft_cmsafter 4.0.0 before 4.13.8
craftcms:craft_cmsafter 5.0.0 before 5.5.8
craftcms:craft_cms4.0.0
craftcms:craft_cms4.0.0:rc1
craftcms:craft_cms4.0.0:rc2
craftcms:craft_cms4.0.0:rc3
craftcms:craft_cms5.0.0
craftcms:craft_cms5.0.0:rc1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-x684-96hh-833xPackagistcraftcms/cms>=5.0.0-RC1 <5.5.85.5.8
GHSA-x684-96hh-833xPackagistcraftcms/cms>=4.0.0-RC1 <4.13.84.13.8

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

  • farid-khelil/CVE_2025_23209 Harbor Check: matches CVE 0 stars, Python, created
    a poc exploit scripte for CVE_2025_23209 that get RCE and ReverseShell from server running Craft CMS Craft CMS `>= 4.0.0-RC1` and `< 4.13.8…

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON