CVE-2025-35939
Last modified
CVE-2025-35939 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. Craft CMS stores arbitrary content provided by unauthenticated users in session files. This content could be accessed and executed, possibly using an independent vulnerability. CISA has confirmed active exploitation in the wild. EPSS estimates a 1.12% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Craftcms | Craft Cms | < 4.15.3 |
| Craftcms | Craft Cms | >= 5.0.0, < 5.7.5 |
References
- https://github.com/craftcms/cms/releases/tag/4.15.3Release Notes
- https://github.com/craftcms/cms/releases/tag/5.7.5Release Notes
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-35939US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-35939?
How severe is CVE-2025-35939?
How do I fix CVE-2025-35939?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-3588A vulnerability, which was classified as problematic, has be…5.3
- CVE-2025-3589A vulnerability, which was classified as critical, was found…9.8
- CVE-2025-3590A vulnerability has been found in Adianti Framework up to 8.…6.3
- CVE-2025-3591A vulnerability was found in ZHENFENG13/code-projects My-Blo…5.4
- CVE-2025-3592A vulnerability was found in ZHENFENG13/code-projects My-Blo…5.4
- CVE-2025-3593A vulnerability was found in ZHENFENG13/code-projects My-Blo…9.8
- CVE-2025-3594Path traversal vulnerability with the downloading and instal…9.8
- CVE-2025-35940The ArchiverSpaApi ASP.NET application uses a hard-coded JW…8.1
- CVE-2025-35941A password is exposed locally.5.5
- CVE-2025-35960Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-35961Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-35962Rejected reason: This CVE ID has been rejected or withdrawn …
Are you affected by CVE-2025-35939?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
