Skip to content
EXYS
Back to the CVEs

CVE-2025-35939

5.3, medium Known exploited

Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability

CVSS
5.3, medium medium CVSS v3.1
EPSS, next 30 days
1% higher than 71% of scored CVEs
Exploitation
Confirmed in the wild
Published
7 May 2025a year ago

Known exploited

CISA added this to the Known Exploited Vulnerabilities Catalog on 2 Jun 2025. US federal agencies had to remediate by 23 Jun 2025, a deadline that has passed.

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.

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.

Details

Vendor
Craft CMS
Product
CMS
Weakness
CWE-472 (opens in a new tab)
Status
Analyzed
Updated
17 Jun 2026
Assigner
9119a7d8-5eab-497f-8521-727c672e3725

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References 6

The kind is read from NVD's tags where present and from the shape of the URL otherwise, so treat it as a hint.

Other Craft CMS CVEs

Every Craft CMS CVE we hold

Same vendor in what we hold, not a known link between the flaws.

  • CVE-2025-32432 Craft CMS Code Injection Vulnerability KEV EPSS 100% 10, critical
  • CVE-2025-23209 Craft CMS Code Injection Vulnerability KEV EPSS 22% 8.1, high
  • CVE-2024-56145 Craft CMS Code Injection Vulnerability KEV EPSS 97% 9.8, critical

Beyond this page

Is CVE-2025-35939 in your network?

This page tells you how dangerous CVE-2025-35939 is out there. Whether it sits on one of your devices, only a scan of your own network can tell. That is what our systems do, every day, for the companies we protect.

CVE-2025-35939 is in the CISA catalogue of exploited vulnerabilities: attackers are already exploiting it.

  • EXYS7600 OCELOT

    Find it before attackers do

    Ocelot scans your network on a schedule and reports every vulnerability it finds by its CVE identifier, with its CVSS score and how many of your hosts are affected. A finding like CVE-2025-35939 comes with the devices to patch.

    Learn more about EXYS7600 OCELOT
  • EXYS7950 KONDRA

    Detect it if it's exploited

    Until the patch is applied, Kondra monitors your network, events and endpoints in real time. It keeps an inventory of the software installed on every endpoint, and its anomaly detection rules flag what an attacker does once inside.

    Learn more about EXYS7950 KONDRA
Check your exposure

Assembled from the NVD 2.0 API, the CISA Known Exploited Vulnerabilities Catalog and FIRST EPSS. Scores are as of our last collection on 17 Oct 2026, not the live upstream state.