CVE-2025-35939
CONFIRMED EXPLOITEDCraft CMS External Control of Assumed-Immutable Web Parameter Vulnerability
Is Craft CMS Craft CMS affected by CVE-2025-35939?
Craft CMS Craft CMS is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2025-35939, added on 2025-06-02. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (2 vulnerable CPE entries): craftcms craft_cms.
Published CPE version bounds mark releases below 5.7.5 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2025-06-23.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2025-32432Same productCraft CMS Craft CMS
Craft CMS Code Injection Vulnerability
- CVE-2024-56145Same productCraft CMS Craft CMS
Craft CMS Code Injection Vulnerability
- CVE-2025-23209Same productCraft CMS Craft CMS
Craft CMS Code Injection Vulnerability
- CVE-2025-3935Neighboring entryConnectWise ScreenConnect
ConnectWise ScreenConnect Improper Authentication Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Craft CMS contains an external control of assumed-immutable web parameter vulnerability. This vulnerability could allow an unauthenticated client to introduce arbitrary values, such as PHP code, to a known local file location on the server. This vulnerability could be chained with CVE-2024-58136 as represented by CVE-2025-32432.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
Craft CMS stores arbitrary content provided by unauthenticated users in session files. This content could be accessed and executed, possibly using an independent vulnerability. Craft CMS redirects requests that require authentication to the login page and generates a session file on the server at '/var/lib/php/sessions'. Such session files are named 'sess_[session_value]', where '[session_value]' is provided to the client in a 'Set-Cookie' response header. Craft CMS stores the return URL requested by the client without sanitizing parameters. Consequently, an unauthenticated client can introduce arbitrary values, such as PHP code, to a known local file location on the server. Craft CMS versions 5.7.5 and 4.15.3 have been released to address this issue.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2025-06-02. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Craft CMS has been compromised.
- Refer to the CISA KEV and NVD/CNA descriptions above for exact component impact boundaries.
- DNS service surface (Craft CMS Craft CMS): inspect DNS query/response telemetry (`Zeek dns.log`, Suricata `eve.json` DNS events, `dnstap`) and resolver logs for malformed packets or daemon crash/restart loops on UDP/TCP :53.
- Inventory all hosts running Craft CMS Craft CMS and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
- https://github.com/craftcms/cms/pull/17220Patch
- https://github.com/craftcms/cms/releases/tag/4.15.3Release Notes
- https://github.com/craftcms/cms/releases/tag/5.7.5Release Notes
- https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2025/va-25-147-01.jsonThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2025-35939VDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-35939US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine