{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-35939","assignerOrgId":"9119a7d8-5eab-497f-8521-727c672e3725","state":"PUBLISHED","assignerShortName":"cisa-cg","dateReserved":"2025-04-15T20:57:14.329Z","datePublished":"2025-05-07T22:41:29.728Z","dateUpdated":"2026-02-26T18:28:42.701Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Craft","product":"CMS","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"5.7.5","versionType":"custom"},{"version":"5.7.5","status":"unaffected"},{"version":"0","status":"affected","lessThan":"4.15.3","versionType":"custom"},{"version":"4.15.3","status":"unaffected"}]}],"problemTypes":[{"descriptions":[{"description":"CWE-472 External Control of Assumed-Immutable Web Parameter","lang":"en","type":"CWE","cweId":"CWE-472"}]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"cvssV4_0":{"version":"4.0","baseScore":6.9,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"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","userInteraction":"NONE","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","subIntegrityImpact":"NONE","vulnIntegrityImpact":"LOW","subAvailabilityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","vulnConfidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-07T22:40:17.180919Z","id":"CVE-2025-35939","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"Craft CMS stores user-provided content in session files","references":[{"name":"url","url":"https://github.com/craftcms/cms/pull/17220"},{"name":"url","url":"https://github.com/craftcms/cms/releases/tag/4.15.3"},{"name":"url","url":"https://github.com/craftcms/cms/releases/tag/5.7.5"},{"name":"url","url":"https://www.cve.org/CVERecord?id=CVE-2025-35939"},{"name":"url","url":"https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2025/va-25-147-01.json"}],"credits":[{"value":"Joel Land, undefined","lang":"en"}],"datePublic":"2025-05-05T00:00:00.000Z","providerMetadata":{"orgId":"9119a7d8-5eab-497f-8521-727c672e3725","shortName":"cisa-cg","dateUpdated":"2025-05-28T20:47:41.106Z"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-35939","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-06-06T03:55:25.568262Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2025-06-02","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-35939"}}}],"references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-35939","tags":["government-resource"]}],"timeline":[{"time":"2025-06-02T00:00:00.000Z","lang":"en","value":"CVE-2025-35939 added to CISA KEV"}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-02-26T18:28:42.701Z"}}]}}