Skip to content

CVE-2025-35939

Craft CMS External Control of Assumed-Immutable Web Parameter

6.9 MEDIUMActively exploited (CISA KEV)EPSS 3.50%
  1. Published7 May 2025
  2. Added to CISA KEV2 Jun 2025
  3. Remediation due23 Jun 2025
6.9CVSS 4.0 scoreMEDIUM
Exploit probability (EPSS)3.50%
90th percentile of all scored CVEs
Actively exploited (CISA KEV)

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.

Added to KEV: 2 Jun 2025Federal remediation due: 23 Jun 2025
01

In short

CVE-2025-35939 (Craft CMS External Control of Assumed-Immutable Web Parameter) has a CVSS 4.0 base score of 6.9, rated medium. CISA added it to the Known Exploited Vulnerabilities catalog on 2 Jun 2025. Fixed in Craftcms Craft CMS 5.7.5 or later.

02

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.

03

CVSS 4.0 breakdown

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality (vulnerable system)
None
Integrity (vulnerable system)
Low
Availability (vulnerable system)
None
Confidentiality (subsequent systems)
None
Integrity (subsequent systems)
None
Availability (subsequent systems)
None
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:X
04

Affected products

  • Craftcms Craft CMS≥ 5.0.0 < 5.7.5 · < 4.15.3
05

Remediation

Fixed in
  • Craftcms Craft CMS≥ 5.7.5
Patch & vendor advisories

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.

06:00 · IN YOUR FLEET

How Secuno handles this

Secuno matches CVE-2025-35939 against the software on every managed device each hour and ranks it by exploit status, EPSS and exposure. Because it is on the CISA KEV list, its fix goes straight to the Emergency patch lane.