CVE-2025-35939
Exploitation confirmed. First attested on 2025-06-02 by CISA-ADP, CISA KEV, GCVE · previdian.
- Published2025-05-07
- Fixed in5.7.5 · 4.15.3
- WeaknessCWE-472
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTCVersions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.x | ≥ 5.0.0, < 5.7.5 | 5.7.5 | NVD |
| 5.x | ≥ 5.0.0-alpha.1, < 5.7.5 | 5.7.5 | OSV |
| 4.15 | < 4.15.3 | 4.15.3 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As cisa-cg, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Craft CMSother versions: unknownAffected
- < 5.7.5fixed in 5.7.5custom
- < 4.15.3fixed in 4.15.3custom
Not affected = 5.7.5 · = 4.15.3
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-05-28
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- craftcms/cmsTuxCare:Packagistfrom 3.9.15 · fixed in 3.9.15-p1+tuxcare
Vendor advisories
Craft CMS stores user-provided content session files
Craft CMS <5.7.5 · Craft CMS <4.15.3
Fix
- Update Craftcms craft cms to 5.7.5 · 4.15.3
- CISA’s 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.due 2025-06-23
- Vendor fix CISA VA-25-147-01 · 1 productFixed in 5.7.5.
- Vendor fix CISA VA-25-147-01 · 1 productFixed in 4.15.3.
Advisories and patches
- github.comPatch
- github.comRelease Notes
- github.comRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
CISA Known Exploited Vulnerability
- Date added
- 2025-06-02
- Patch due date
- 2025-06-23
- Ransomware use
- Unknown
- 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.
Sources
- CISA KEVKEV entry2025-06-02
- ENISA EUVDexploitation2025-06-022025-06-02
- GCVEexploitation2025-06-02
- CISA-ADPSSVC decisionactive2025-06-06
- CNACVSS 4.06.9known since 2026-10-23
- CNACVSS 3.15.3known since 2026-10-23
- NVDCVSS 3.15.3read 2026-10-23
- CNAweakness (CWE)CWE-472known since 2026-10-23
- FIRST EPSSEPSS score3.5 %2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryModerate2025-05-08
Identifiers
- EUVD-2025-13951same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-7vrx-9684-xrf2same flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS 4.0 vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2025-05-07
- Last modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub advisory
- GHSA-7vrx-9684-xrf2
Frequently asked questions
What is CVE-2025-35939?
Is CVE-2025-35939 actively exploited?
What is the CVSS score for CVE-2025-35939?
Running craftcms/cms? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CISA ICS advisories (CSAF) · Public domain (US Government work)
- CISA KEV · CC0-1.0 (cisagov/kev-data)
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-7vrx-9684-xrf2
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0