cybersecurity Request an audit

Actively exploited vulnerability / CVE-2025-35939

Craft CMS: anyone can plant code on your website's server

This flaw lets an attacker, with no account or password, place content of their choosing, including code, in a file on the server hosting your website. Combined with another vulnerability, that code can be run, which can mean takeover of the site and the data in it. It is on the lists of vulnerabilities used in real attacks kept by both CISA, the US cybersecurity agency, and ENISA, the EU cybersecurity agency.

Identifier
CVE-2025-35939 · EUVD-2025-13951
Severity
Medium (6.9/10)
On the CISA list (US)
yes, since 2 June 2025
Deadline given to US federal agencies
23 June 2025
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
2.1% (FIRST's estimate for the next 30 days)

Does it concern you?

Craft CMS is a content management system for websites. You have it if your company website was built on Craft CMS, usually by a web agency or developer.

Affected are version 4 releases older than 4.15.3 and version 5 releases from 5.0.0 up to but not including 5.7.5. The version is shown in the Craft control panel; if you cannot find it, ask the agency or person who runs your site.

Affected products and versions

  • Craft CMS
  • craft cms: before 4.15.3; from 5.0.0 before 5.7.5

What to do

Update Craft CMS to version 4.15.3 or 5.7.5, or newer. If you cannot update right away, follow the vendor's mitigation guidance.

Versions that contain the fix: 4.15.3, 5.7.5.

The official description

The text below is the description from the public database.

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.

Sources

Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.

Other exploited vulnerabilities in Craft CMS

All exploited vulnerabilities in Craft CMS

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.