Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting craftcms/cms package, versions >=5.6.0, <5.9.13


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (18th 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-15763112
  • published25 Mar 2026
  • disclosed24 Mar 2026
  • credityuma4869

Introduced: 24 Mar 2026

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

How to fix?

Upgrade craftcms/cms to version 5.9.13 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') in the actionFilterHud process. An attacker can execute arbitrary code on the server by supplying a crafted fieldLayouts parameter containing malicious configuration keys that are processed without proper sanitization. This is only exploitable if the attacker has an authenticated account with control panel access.

CVSS Base Scores

version 4.0
version 3.1