PT-2025-20312 · Craft Cms · Craft Cms

Angrybrad

·

Published

2025-05-07

·

Updated

2026-03-12

·

CVE-2025-35939

CVSS v4.0

6.9

Medium

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:A
Name of the Vulnerable Software and Affected Versions Craft CMS versions prior to 4.15.3 Craft CMS versions prior to 5.7.5
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.
Recommendations For versions prior to 4.15.3, update to version 4.15.3 or later to address this issue. For versions prior to 5.7.5, update to version 5.7.5 or later to address this issue.

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-08249
CVE-2025-35939
GHSA-7VRX-9684-XRF2

Affected Products

Craft Cms