Unsafe Reflection Affecting craftcms/cms package, versions >=4.0.0-RC1, <4.16.17>=5.0.0-RC1, <5.8.21


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.18% (79th 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 IDSNYK-PHP-CRAFTCMSCMS-14873833
  • published13 Jan 2026
  • disclosed5 Jan 2026
  • creditchutchut

Introduced: 5 Jan 2026

CVE-2025-68455  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

Upgrade craftcms/cms to version 4.16.17, 5.8.21 or higher.

Overview

craftcms/cms is a content management system.

Affected versions of this package are vulnerable to Unsafe Reflection via the __set() and __get() methods in the Behavior class. An administrator can execute arbitrary code on the server by submitting a JSON payload that attaches a maliciousBehavior class to a component and triggers an event, resulting in the execution of an attacker-controlled callable.

Note: This is only exploitable if the attacker has administrator access to the control panel.

CVSS Base Scores

version 4.0
version 3.1