CVE-2025-35939

Confirmed PUBLISHED

Craft CMS stores user-provided content in session files

Craft · CMS

1 day faster than CISA KEV

Exploited in the wild

Recommended Action

Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.

Confidence
Confirmed
Exploitation Status
Exploited in the wild
Observed in Sensors
No
Attempts (30d)
Unique Attacker IPs
CISA KEV
In CISA KEV
CVSS / EPSS
6.9 Medium EPSS 1.1%

At a Glance

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.

php cisa
CVE Published
May 07, 2025
Exploitation Reported
Jun 01, 2026
CVSS
6.9 Medium
EPSS
1.1%
Remote Low complexity No user interaction Unauthenticated

Affected Versions

Vendor Product Version Status
Craft
CMS

0 to < 5.7.5

Affected
Craft
CMS

5.7.5

Unaffected
Craft
CMS

0 to < 4.15.3

Affected
Craft
CMS

4.15.3

Unaffected

CVE References

  • url github.com · CVE Record https://github.com/craftcms/cms/pull/17220
  • url github.com · CVE Record https://github.com/craftcms/cms/releases/tag/4.15.3
  • url github.com · CVE Record https://github.com/craftcms/cms/releases/tag/5.7.5
  • url cve.org · CVE Record https://www.cve.org/CVERecord?id=CVE-2025-35939
  • url raw.githubusercontent.com · CVE Record https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/...

Recommended Actions

  • Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
  • Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.