Security mailing lists by PureSourceCode

CVE-2025-35939

MEDIUM 6.9CVSS 4.0known exploited

Craft CMS stores arbitrary content provided by unauthenticated users 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.

Published
7 May 2025
Last modified
17 Jun 2026
Assigned by
9119a7d8-5eab-497f-8521-727c672e3725
NVD status
Analyzed
Weakness
CWE-472
Also known as
GHSA-7vrx-9684-xrf2
Sources
NVDJSONCISA KEVJSONOSV GHSA-7vrx-9684-xrf2JSON
In CISA's Known Exploited Vulnerabilities catalog since 2 Jun 2025; US federal agencies must fix it by 23 Jun 2025.
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Scores

SourceScored byVersionScoreVector / decision
NVD 9119a7d8-5eab-497f-8521-727c672e3725 (Secondary) CVSS 4.0 MEDIUM 6.9 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
OSV GitHub CVSS 4.0 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:A
NVD 9119a7d8-5eab-497f-8521-727c672e3725 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
< 4.15.3 4.15.3
NVD craftcms craft_cms
cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
>= 5.0.0, < 5.7.5 5.7.5
OSV Packagist craftcms/cms >= 5.0.0-alpha.1, < 5.7.5 5.7.5
OSV Packagist craftcms/cms < 4.15.3 4.15.3

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 7 May 2025)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 8 May 2025)
  • 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 2 Jun 2025)
  • 2 Jun 2025 00:00 UTC · Listed as known exploited
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.