Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-35939: Craft CMS External Control of Assumed-Immutable Web Parameter Vulnerability

66
Patch now
MEDIUM 5.3EXPLOITEDREMOTEUPGRADE

CVE-2025-35939 is a medium-severity flaw (CVSS 5.3) affecting craft cms, reported as exploited in the wild. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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' respon

Why this priority

  • Exploited in the wild (CISA KEV)
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score5.3 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance1.3% (top 29%)
CISA exploited listYes, fix due 2025-06-23
WeaknessCWE-472
Published2025-05-07
Last modified2026-06-17
Publisher (CNA): Cybersecurity and Infrastructure Security Agency (CISA) U.S. Civilian Government · Vendor: craftcms

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

craftcms craft cms UPGRADE
Affected: < 4.15.3 · >= 5.0.0 and < 5.7.5
Fixed in: 4.15.3, 5.7.5
Safe to downgrade to: a release before 5.0.0
1. Check installed version
apt-cache policy craft-cms || rpm -q craft-cms || craft-cms --version
2. UPGRADE to 4.15.3 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade craft-cms
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade craft-cms
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 5.0.0 (Debian / Ubuntu)
apt-cache madison craft-cms sudo apt install craft-cms=<VERSION_BEFORE_5.0.0> sudo apt-mark hold craft-cms
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list craft-cms sudo dnf downgrade craft-cms-<VERSION_BEFORE_5.0.0> sudo dnf versionlock add craft-cms
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

Composer (PHP) · craftcms/cms · FIXED · 5.7.5 · vulnerable: >= 5.0.0-alpha.1, < 5.7.5 · source
composer require "craftcms/cms:>=5.7.5"
Fedora ELN · fips-provider-next · FIXED · 1.5.3-3.eln159 · FEDORA-2026-3ce99ec7df · source
sudo dnf upgrade --advisory=FEDORA-2026-3ce99ec7df
Fedora 46 · rubygem-webmock · FIXED · 3.26.1-3.fc46 · FEDORA-2026-bb57b4d095 · source
sudo dnf upgrade --advisory=FEDORA-2026-bb57b4d095
Verify at the official source NVD · CVE Program · CISA KEV catalog · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-35939?

craft cms: upgrade to 4.15.3, 5.7.5. Exact commands for each OS are on this page.

Is CVE-2025-35939 being exploited?

Yes. CVE-2025-35939 is on the CISA Known Exploited Vulnerabilities list, so treat it as patch-now.

What does CVE-2025-35939 affect?

CVE-2025-35939 affects craft cms. Severity is medium (CVSS 5.3). 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

How urgent is CVE-2025-35939?

Priority 66/100. Exploited in the wild (CISA KEV); Remotely exploitable, no login, no user action

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.