CVE-2025-35939

Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability

Actively exploited · CISA KEV
6.9 MediumCVSS v4.0
3.5%EPSS (30-day exploit probability)
2025-06-02added to KEV
2025-06-23CISA federal due date

Summary

Craft CMS Craft CMS. Craft CMS contains an external control of assumed-immutable web parameter vulnerability. This vulnerability could allow an unauthenticated client to introduce arbitrary values, such as PHP code, to a known local file location on the server. This vulnerability could be chained with CVE-2024-58136 as represented by CVE-2025-32432.

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.

CVSS vector
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
Weakness
CWE-472
Published
2025-05-07 (last modified 2026-06-17)

What to do

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

  1. Find every instance of Craft CMS Craft CMS in your asset inventory, including internet-facing ones.
  2. Apply the vendor fix or mitigation, or isolate/disconnect the asset until you can.
  3. Hunt for signs of compromise from before you patched; exploitation is already happening in the wild.
  4. Ask critical suppliers whether they are affected and when they will be patched.

FAQ

Is CVE-2025-35939 being exploited?

Yes. CISA added CVE-2025-35939 to its Known Exploited Vulnerabilities catalog on 2025-06-02, which means there is reliable evidence of active exploitation.

How do I fix CVE-2025-35939?

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.

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

The EPSS score is 3.5%, meaning an estimated 3.5% probability of exploitation activity in the next 30 days (percentile 89).

Other exploited Craft CMS vulnerabilities

CVE-2025-32432Craft CMS Code Injection Vulnerability2026-03-20
CVE-2024-56145Craft CMS Code Injection Vulnerability2025-06-02
CVE-2025-23209Craft CMS Code Injection Vulnerability2025-02-20

All Craft CMS exploited CVEs →

Triage many CVEs at once

Paste up to 25 CVEs and get KEV, EPSS and CVSS side by side, with CSV export.

Try Pro CVE triage

Sources: CISA KEV, NIST NVD, FIRST EPSS. This page is informational; verify against the vendor advisory before acting. © CyberStrategiX.