CVE-2025-35939: Craft CMS stores user-provided content in session files
Craft · CMS
Vendor fix available · Affected: Craft CMS · Exploitation: in CISA KEV since 2 Jun 2025
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
ExploitationIn CISA KEV
- In CISA KEVCISA KEV catalogue2 Jun 2025
- Exploited (reported): not seen
- Scanning observed: not seen
- Proof of concept public: not seen
- Not established: not seen
Higher than 72% of scored CVEs
DescriptionCVE.org
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 products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- Craft · CMSbefore 5.7.5; before 4.15.3
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Exploited in the wild. Listed in the CISA Known Exploited Vulnerabilities catalogue.
- CISA KEV
- Listed since 2 Jun 2025 · catalogue entry
- Public check
- No public nuclei template
- Vendor
- Craft
- Published
- May 2025
What changed
- CISA added it to the KEV catalogue CISA
CoverageNo articles yet
No CyberSIXT article names CVE-2025-35939 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CISA KEV cataloguecisa.gov
- CVE recordcve.org
- Weakness CWE-472cwe.mitre.org
- github.com/craftcms/cms/pull/17220github.com
- github.com/craftcms/cms/releases/tag/4.15.3github.com
- github.com/craftcms/cms/releases/tag/5.7.5github.com
- raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/whiraw.githubusercontent.com