CVE Watchtower

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.
Severity Level
MEDIUM(6.9)
Published Date
May 7, 2025
Last Modified
Jun 3, 2025
Exploitation Status
ACTIVE
Root Weakness (CWE)
See the MITRE CWE entry for the full definition of this weakness.
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:X
Attack 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:N
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityNone
IntegrityLow
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Craftcms Craft Cms < 4.15.3
  • Craftcms Craft Cms >= 5.0.0 and < 5.7.5
Patched Versions
  • 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.

  1. Check whether you run Craftcms Craft Cms and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. 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)

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 alerts

Data last checked: Nov 22, 2026 15:32 UTC