--- title: "CVE-2025-35939: Craft CMS stores user-provided content… | CubePath" description: "Craft CMS stores arbitrary content provided by unauthenticated users in session files. This content could be accessed and executed, possibly using…" language: en source: https://cubepath.com/security/cve/CVE-2025-35939 --- # CVE-2025-35939: Craft CMS stores user-provided content… | CubePath ## 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. Official description from the CVE record, published by cisa-cg. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-35939) ## Key data ### CVSS 4.0 Medium 6.9 Score published by cisa-cg in the CVE record. 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 | Metric | Value | What it means | | ----------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No measurable action is needed to get around the system's built-in security controls. The attack is repeatable. | | Attack requirements | None | The attack works without any special deployment or execution conditions. | | Privileges required | None | No account or privileges are needed. | | User interaction | None | No action from any user is needed. | | Vulnerable system: confidentiality | None | No effect on the secrecy of data. | | Vulnerable system: integrity | Low | Limited effect on the trustworthiness of data. | | Vulnerable system: availability | None | No effect on availability. | | Subsequent systems: confidentiality | None | No effect on other systems' data secrecy. | | Subsequent systems: integrity | None | No effect on other systems' data trustworthiness. | | Subsequent systems: availability | None | No effect on other systems' availability. | ### CVSS 3.1 Medium 5.3 Score published by cisa-cg in the CVE record. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | Metric | Value | What it means | | ---------------------- | --------- | ----------------------------------------------------------------------------------- | | Attack vector | Network | The vulnerable component can be reached over a network, possibly from the Internet. | | Attack complexity | Low | No special conditions are needed. The attack can be repeated at will. | | Privileges required | None | No account or privileges are needed. | | User interaction | None | No action from any user is needed. | | Scope | Unchanged | The impact stays within the vulnerable component. | | Confidentiality impact | None | No effect on the secrecy of data. | | Integrity impact | Low | Limited effect on the trustworthiness of data. | | Availability impact | None | No effect on availability. | CVSS is owned and managed by FIRST.Org, Inc. (FIRST) and is used by permission. Each CVSS score on this site is shown together with its vector string, as published in the CVE record by the source named next to it. Learn more at [first.org/cvss](https://www.first.org/cvss/) . ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.01373 (1.4% probability) Percentile 72.2% Scores of Nov 10, 2026 Model v2026.06.15 ### CISA Known Exploited Vulnerabilities This CVE is listed in the CISA KEV catalog. Name in the catalog Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability Added to the catalog Jun 2, 2025 Federal due date Jun 23, 2025 ### CISA assessment as of Jun 6, 2025 Stakeholder-Specific Vulnerability Categorization (SSVC) decision points added by CISA. Exploitation Recorded by CISA as active Automatable yes Technical impact partial ### Weakness (CWE) CWE catalog version 5.0. CWE names: Copyright © 2006-2026, The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CWE license. - [CWE-472](https://cwe.mitre.org/data/definitions/472.html) External Control of Assumed-Immutable Web Parameter ## Affected products Products listed in the CVE record, as the CNA published them. - Craft CMS - affected: before 5.7.5 - unaffected: 5.7.5 - affected: before 4.15.3 - unaffected: 4.15.3 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [url](https://github.com/craftcms/cms/pull/17220) (github.com) - [url](https://github.com/craftcms/cms/releases/tag/4.15.3) (github.com) - [url](https://github.com/craftcms/cms/releases/tag/5.7.5) (github.com) - [url](https://www.cve.org/CVERecord?id=CVE-2025-35939) (cve.org) - [url](https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf%5Ffiles/IT/white/2025/va-25-147-01.json) (raw.githubusercontent.com) ## Timeline 1. ID reserved Apr 15, 2025 2. Record published May 7, 2025 3. Added to CISA KEV Jun 2, 2025 4. Record last updated Feb 26, 2026 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:19 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)