Craft CMS · Craft CMS · CWE-472 · published 2025-05-07
CVE-2025-35939Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability
This week Known exploited in the wild.
CVE-2025-35939 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-06-02. EPSS estimates a 1.4% chance of exploitation in the next 30 days, higher than 72% of all CVEs. This Craft CMS vulnerability: CVSS 6.9 (v4.0), attacks can be automated. CISA’s required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. US federal agencies must remediate by 2025-06-23. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. (federal due date 2025-06-23)
Patch events
Web applicationCraft CMS
External Control of Assumed-Immutable Web ParameterCVE-2025-35939
Why: Known exploited in the wild.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2025-06-02 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 1.4% (73th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 6.9 (v4.0)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | partial | CISA Vulnrichment |
Weakness: CWE-472: External Control of Assumed-Immutable Web Parameter
More from this vendor: all Craft CMS vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Craft CMS
0to before5.7.5(affected)5.7.5(unaffected)0to before4.15.3(affected)4.15.3(unaffected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.