CVE-2025-35939KEV · OVERDUECWE-472

Craft CMS stores user-provided content in session files

Medium · published May 7, 2025

Patch now

The score understates this — it's already being exploited

CVSS calls it medium at 6.9. It is confirmed in active exploitation. It sits in the 71.3th percentile for exploit probability.

488
days past CISA
deadline
CVSS v4.0
6.9
EPSS
1%
Percentile
71.3
In the wild
Confirmed
What it is

⚠️ Unauthenticated users can sneak in arbitrary content! Craft CMS allows this through its session files, which can be accessed and exploited if you're not careful! 🔥 Think of it like a restaurant taking orders without checking IDs. An unauthorized customer could potentially scribble down anything they want on the order slip, including something harmful, and the kitchen would prepare it without a second thought. If an attacker takes advantage of this, they could execute arbitrary PHP code on your server, leading to unauthorized access and data breaches. This could mean exposing sensitive information or even taking full control of the site—a pretty alarming scenario!

Put simply

Think of it like a restaurant taking orders without checking IDs. An unauthorized customer could potentially scribble down anything they want on the order slip, including something harmful, and the kitchen would prepare it without a second thought. Craft CMS stores content from unauthenticated users in session files without proper sanitization. This allows attackers to inject harmful values into the session files, which could later be executed due to another vulnerability.

What to do

If an attacker takes advantage of this, they could execute arbitrary PHP code on your server, leading to unauthorized access and data breaches. This could mean exposing sensitive information or even taking full control of the site—a pretty alarming scenario! To remediate this, immediately upgrade to Craft CMS versions 5.7.5 or 4.15.3. Ensure session files are properly sanitized before storing any user-generated content, and review your server's security settings. Act fast to limit exposure! You've got this! Follow these steps and secure your Craft CMS environment in no time! 🛡️

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
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
EPSS
0.01349 · 71.3th percentile
Weakness
CWE-472 · External Control of Assumed-Immutable Web Parameter
Published
2025-05-07T22:41Z
KEV added
2025-06-02 · due 2025-06-23
EPSS history
Timeline
  • 02 JUN 00:00Z
    Added to CISA KEV — remediate by Jun 23
    kev
  • 07 MAY 22:41Z
    Craft CMS stores user-provided content in session files
    cvelistv5