CVE-2025-35939: Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability
Vulnerability summary
CVE-2025-35939 is a medium (CVSS 6.9) vulnerability in Craft CMS. It is known to be exploited: CISA lists it, first on 02-06-2025. EPSS estimates a 1.35% chance of exploitation in the next 30 days, higher than 71% of scored vulnerabilities.
Timeline
- 07-05-2025PublishedVulnerability first disclosed.
- 02-06-2025Added to CISA KEVCraft CMS External Control of Assumed-Immutable Web Parameter Vulnerability
- 23-06-2025CISA remediation dueApply mitigations per vendor instructions.
- 26-02-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 2 sources · 2 versions- NVDNIST6.9MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
1.35%
Chance of exploitation in the next 30 days
Percentile
71%
Versus all other CVEs
30-day change
+0.03 pp
From 1.32% on 20-09-2026
Known exploited
Compare KEV catalogs- Added
- 02-06-2025
- Federal due date
- 23-06-2025
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. github.com/craftcms/cms/pull/17220 nvd.nist.gov/vuln/detail/CVE-2025-35939
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
2 vendors · 2 products
References
6 links- github.com/craftcms/cms/releases/tag/4.15.3Release Notes
- github.com/craftcms/cms/releases/tag/5.7.5Release Notes
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-35939Government ResourceUS Government Resource