← Back to CVE List
Vulnerability Analysis
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
CVSS Base Score
5.3
MEDIUM
Exploitability:3.9
Impact Score:1.5
Temporal Score:-
EPSS:1.12%

Threat Intelligence Signals

CISA KEV
YES
KEV Date Added
2025-06-02
Ransomware Use
Unknown
KEV Due Date
2025-06-23
VulnCheck In-the-Wild
No
Nuclei Template
No
EPSS Score
1.119%
EPSS Percentile
62.0th pct
GitHub Severity
MODERATE
SSVC Exploitation
SSVC Automatable
Vulnerability Class

Identity & Timeline

Status-
Assigning Authority-
CVSS Version / Source-
Reserved-
Published-
Patch Date (date_public)-
Exploit DB Date-
First GitHub PoC Date-
Last Updated-
Time to Patch (Days to fix)-
Exploit Release Gap-
PoC Release Gap-
Exploit DB ReferencesNone identified

Affected Products & Versions

Vendor Product Affected Versions
No affected products specified.

References

No reference links found.

LINK COPIED TO CLIPBOARD