CVE-2025-35939Craftcms Craft Cms
NVDCVSS scored by 9119a7d8-5eab-497f-8521-727c672e3725
Vulnerability Summary
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 v4.0 Base Metrics — Score 6.9 (MEDIUM)
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/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:XAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)Low
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 5.3)
CVSS v3.1 Base Metrics — Score 5.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone
Affected & Patched Versions
- Craftcms Craft Cms < 4.15.3
- Craftcms Craft Cms >= 5.0.0 and < 5.7.5
- Craftcms Craft Cms 4.15.3
- Craftcms Craft Cms 5.7.5
What to do
Patch now. CISA lists this flaw as exploited in the wild and set a federal remediation deadline of Jun 23, 2025.
- Check whether you run Craftcms Craft Cms and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
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.
CISA KEV Status
Listed in Known Exploited Vulnerabilities
Added: Jun 2, 2025
Remediation due: Jun 23, 2025 (deadline passed)
Remediation due: Jun 23, 2025 (deadline passed)
Timeline
- May 7, 2025Published
- Jun 2, 2025Added to CISA KEV catalog
- Jun 3, 2025Record last modified
- Jun 23, 2025KEV remediation due date
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Craftcms Craft Cms CVEsYou are reading CVE-2025-35939. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
- Patchhttps://github.com/craftcms/cms/pull/17220
- Referencehttps://github.com/craftcms/cms/releases/tag/4.15.3
- Referencehttps://github.com/craftcms/cms/releases/tag/5.7.5
- Advisoryhttps://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2025/va-25-147-01.json
- CVE Recordhttps://www.cve.org/CVERecord?id=CVE-2025-35939
Data last checked: Nov 22, 2026 15:32 UTC