CVE-2025-35939: Vulnerability in Craft Cms

Actively exploited. 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...

Exploited in the wild, Packagist, CWE-472

Exploitation
Confirmed 2 Jun 2025
Severity
5.3 of 10
Attack likelihood
2.1 % in 30 days
Fix
Fixed version known
Patch deadline
Agencies by 23 Jun 2025

Details

Advisory ID
GHSA-7vrx-9684-xrf2
EU ID
EUVD-2025-13951
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:H
Weakness
CWE-472
Published
7 May 2025
Last change
17 Jun 2026
Likelihood rank
Higher than 82 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
Packagist
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.

Affected products

Affected versions and the first fixed release

  • Craft Cms Before 4.15.3; From 5.0.0 before 5.7.5. Fixed in 4.15.3, 5.7.5

Affected packages

Vulnerable version ranges and fixed releases

  • craftcms/cms Packagist, Affected from 5.0.0-alpha.1 before 5.7.5. Fixed in 5.7.5

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related