Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-35939
May 07, 2025
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.
Affected Packages
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=0.9.2063 <4.15.3
Fix Suggestion:
Update to version 4.15.3
https://github.com/craftcms/cms.git (GITHUB):
Affected version(s) >=5.0.0 <5.7.5
Fix Suggestion:
Update to version 5.7.5
craftcms/cms (PHP):
Affected version(s) >=5.0.0-alpha.1 <5.7.5
Fix Suggestion:
Update to version 5.7.5
craftcms/cms (PHP):
Affected version(s) >=dev-release-action-dedupe <4.15.3
Fix Suggestion:
Update to version 4.15.3
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
ATTACKED
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Exploit Maturity
HIGH
Weakness Type (CWE)
External Control of Assumed-Immutable Web Parameter
EPSS
Base Score:
33.06