Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability
Actively exploited (CISA KEV)
Medium 5.3 CVSS 3.1
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.
Description as published by the source, in English.
Key facts
Published
2025-05-07
Last modified
2026-06-17
Assigned by
9119a7d8-5eab-497f-8521-727c672e3725
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
1.3 %
higher than 67 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references
Actively exploited
CISA added this vulnerability to the Known Exploited Vulnerabilities
catalogue on 2025-06-02,
with a remediation deadline of 2025-06-23 for US federal agencies.
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.
The web application does not sufficiently verify inputs that are assumed to be immutable but are actually externally controllable, such as hidden form fields.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK.
This shows which techniques the weakness class is historically used for.
It does not assert that this vulnerability has been exploited that way.