← Back to CVE List
Vulnerability Intelligence Report
Craft CMS stores user-provided content in session files

CVE-2025-35939

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.

CISA KEV SSVC: Active Exploitation Automatable
CVSS Base Score
5.3
MEDIUM
Exploitability:3.9
Impact Score:1.5
EPSS Probability:1.12%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-472 ↗CWE-472 External Control of Assumed-Immutable Web Parameter

Affected Products & Versions

Vendor Product Affected Versions
Craft CMS 0 < 5.7.5 (affected), 5.7.5 (unaffected), 0 < 4.15.3 (affected), 4.15.3 (unaffected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

CISA KEV
ACTIVE IN CATALOG
EPSS Score
1.119%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityCybersecurity and Infrastructure Security Agency (CISA) U.S. Civilian Government · CERT · USA
Reserved2025-04-15T20:57:14
Published2025-05-07T22:41:29
Patch Date2025-05-05
Last Updated2026-02-26T18:28:42

LINK COPIED TO CLIPBOARD