CVEBrief

Home / Craft / CMS / CVE-2025-35939

CVE-2025-35939: is it exploited, and which versions of Craft CMS are affected and fixed?

CVE-2025-35939 is an external Control of Assumed-Immutable Web Parameter vulnerability in Craft CMS, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on June 2, 2025, with a federal due date of June 23, 2025. Affected: craftcms/cms from 5.0.0-alpha.1 before 5.7.5 and craftcms/cms before 4.15.3 (GitHub advisory GHSA-7vrx-9684-xrf2). Fixed in 5.7.5 and 4.15.3 (GitHub advisory GHSA-7vrx-9684-xrf2). Severity: Medium (6.9, CVSS 3.1, from cisa-cg).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.

Exploited in the wild
Yes, CISA KEV
added June 2, 2025, due June 23, 2025
Affected
craftcms/cms from 5.0.0-alpha.1 before 5.7.5 and craftcms/cms before 4.15.3
GitHub advisory GHSA-7vrx-9684-xrf2
Fixed in
5.7.5 and 4.15.3
GitHub advisory GHSA-7vrx-9684-xrf2
Severity
Medium 6.9
CVSS 3.1 from cisa-cg
Exploit odds (EPSS)
3.50% in 30 days
higher than 89% of CVEs; FIRST, December 2, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-35939?

Craft CMS stores user-provided content in session files

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.

From the CVE record by cisa-cg, last updated February 26, 2026, 18:28 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
CraftCMSbefore 5.7.5
before 4.15.3
5.7.5, 4.15.3

As the CVE record by cisa-cg states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
Packagistcraftcms/cms>= 5.0.0-alpha.1, < 5.7.55.7.5GHSA-7vrx-9684-xrf2
Packagistcraftcms/cms< 4.15.34.15.3GHSA-7vrx-9684-xrf2

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 22, 2025. Summary: Craft CMS stores arbitrary content provided by unauthenticated users in session files.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
craftcmscraft cmsbefore 4.15.3application
craftcmscraft cmsfrom 5.0.0 before 5.7.5application

NVD analysis (status Analyzed), last modified June 17, 2026, 09:14 UTC.

How severe is CVE-2025-35939?

ScoreVersionVectorSource
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Ncisa-cg
Medium 6.9CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:Ncisa-cg
Medium 5.3CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-35939 exploited in the wild?

CISA KEV
Listed as Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability, added June 2, 2025; federal agencies must act by June 23, 2025
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.
Ransomware use
Unknown
CISA's summary
Craft CMS contains an external control of assumed-immutable web parameter vulnerability. This vulnerability could allow an unauthenticated client to introduce arbitrary values, such as PHP code, to a known local file location on the server. This vulnerability could be chained with CVE-2024-58136 as represented by CVE-2025-32432.
CISA SSVC
Exploitation: active; automatable: yes; technical impact: partial (CISA ADP, June 6, 2025)
EPSS
3.50% probability of exploitation activity in the next 30 days, percentile 89.5 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
April 15, 2025
Published
May 7, 2025, 22:41 UTC
CVE record updated
February 26, 2026, 18:28 UTC by cisa-cg
NVD
Analyzed, last modified June 17, 2026, 09:14 UTC
Last checked
CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect CMS?

Every CVE in CMS

Questions about CVE-2025-35939

Is CVE-2025-35939 exploited in the wild?

Yes. CISA added CVE-2025-35939 to its Known Exploited Vulnerabilities catalog on June 2, 2025 and set federal agencies a due date of June 23, 2025. FIRST's EPSS gives it a 3.50% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Craft CMS are affected by CVE-2025-35939?

craftcms/cms from 5.0.0-alpha.1 before 5.7.5 and craftcms/cms before 4.15.3, per the GitHub advisory GHSA-7vrx-9684-xrf2. The tables above give every range the sources list.

Which version fixes CVE-2025-35939?

5.7.5 and 4.15.3, per the GitHub advisory GHSA-7vrx-9684-xrf2. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-35939?

Medium (6.9, CVSS 3.1, from cisa-cg). The severity table above shows each score with its source.

Where is the official record of CVE-2025-35939?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.