Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') Affecting statamic/cms package, versions <5.74.1>=6.0.0, <6.24.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.3% (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 IDSNYK-PHP-STATAMICCMS-18584469
  • published7 Aug 2026
  • disclosed6 Aug 2026
  • creditUnknown

Introduced: 6 Aug 2026

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

How to fix?

Upgrade statamic/cms to version 5.74.1, 6.24.0 or higher.

Overview

Affected versions of this package are vulnerable to Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') in the Antlers template resolution process. An attacker can cause loss of content and assets by injecting untrusted input into templates that are processed by the affected areas. This is only exploitable if templates are configured to pass untrusted user input into the vulnerable template resolution process.

References

CVSS Base Scores

version 4.0
version 3.1