CVE-2025-35939
Craft CMS stores user-provided content in session files
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
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 for the CVE license. View the record on cve.org
Key data
CVSS 4.0 Medium 6.9
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
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.
| 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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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.
| 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.
EPSS
- Score
- 0.01373 (1.4% probability)
- Percentile
- 72.2%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
CISA Known Exploited Vulnerabilities
- 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
- Exploitation
- Recorded by CISA as active
- Automatable
- yes
- Technical impact
- partial
Weakness (CWE)
- CWE-472External Control of Assumed-Immutable Web Parameter
Affected products
Craft CMS
- affected: before 5.7.5
- unaffected: 5.7.5
- affected: before 4.15.3
- unaffected: 4.15.3
References
Timeline
- ID reserved
- Record published
- Added to CISA KEV
- Record last updated
Look up another CVE
About CubePath
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:17 UTC. Sources and licenses