Skip to main content
MEDIUM CISA KEV

CVE-2025-35939

CVSS v3

5.3

MEDIUM

EPSS Score

1.3 %

exploit probability, as of 2026-10-19

CISA KEV

Yes

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for craftcms/cms.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

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/cmsPackagistall versions · fixed in 4.15.3

Vendor advisories

  • VA-25-147-01 CISA2 products fixed · 2 known affected

    Craft CMS stores user-provided content session files

    Craft CMS <5.7.5 · Craft CMS <4.15.3

Full record on NVD

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.

CISA Known Exploited Vulnerability

Date Added
2025-06-02
Patch Due Date
2025-06-23
Ransomware Use
Unknown

Technical details

Published
2025-05-07

Frequently asked questions

What is CVE-2025-35939?

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.

Is CVE-2025-35939 actively exploited?

Yes. CVE-2025-35939 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2025-06-23.

What is the CVSS score for CVE-2025-35939?

CVE-2025-35939 has a CVSS v3 base score of 5.3 (MEDIUM severity).

Running craftcms/cms? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month