Arbitrary Code Injection Affecting craftcms/cms package, versions >=5.9.0, <5.10.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-CRAFTCMSCMS-17872172
  • published6 Jul 2026
  • disclosed6 Jul 2026
  • creditUnknown

Introduced: 6 Jul 2026

NewCVE-2026-55794  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade craftcms/cms to version 5.10.0 or higher.

Overview

craftcms/cms is a content management system.

Affected versions of this package are vulnerable to Arbitrary Code Injection in the renderObjectTemplate process. An attacker can execute arbitrary code by supplying malicious input in the HTTP Referer header when saving entries in the control panel. This is only exploitable if the attacker has control panel access and permissions to edit an entry.

CVSS Base Scores

version 4.0
version 3.1