MEDIUM CISA KEV

CVE-2025-35939

CVSS v3

5.3

MEDIUM

EPSS Score

20.8%

exploit probability

CISA KEV

Yes

known exploited

Exploitation

SSVC status

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.

CISA Known Exploited Vulnerability

Date Added
6/2/2025
Patch Due Date
6/23/2025
Ransomware Use
Unknown

Technical details

Published
5/7/2025

Frequently asked questions

What is 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.

Is CVE-2025-35939 actively exploited?

Yes. CVE-2025-35939 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 6/23/2025.

What is the CVSS score for CVE-2025-35939?

CVE-2025-35939 has a CVSS v3 base score of 5.3 (MEDIUM severity).

Is CVE-2025-35939 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.