Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting craftcms/cms package, versions >=3.4.22, <4.17.5>=5.0.0-alpha.1, <5.9.11


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (7th 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-15674467
  • published17 Mar 2026
  • disclosed16 Mar 2026
  • creditUnknown

Introduced: 16 Mar 2026

NewCVE-2026-32264  (opens in a new tab)
CWE-470  (opens in a new tab)

How to fix?

Upgrade craftcms/cms to version 4.17.5, 5.9.11 or higher.

Overview

craftcms/cms is a content management system.

Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') via the ElementIndexesController and FieldsController components. An attacker can execute arbitrary code by injecting malicious behavior or event handlers via specially crafted request parameters.

Notes: This is only exploitable if the attacker has Craft control panel administrator permissions and the allowAdminChanges setting is enabled.

CVSS Base Scores

version 4.0
version 3.1